Bug#874129: FTBFS with Java 9: java.xml

Chris West solo-debianbugs at goeswhere.com
Sun Sep 3 15:10:42 UTC 2017


Source: uddi4j
Version: 2.0.5
Severity: normal
User: debian-java at lists.debian.org
Usertags: default-java9

This package fails to build with default-jdk pointing to openjdk-9-jdk.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls

java.xml seems to be at fault. See the wiki.

Build log:

   [javac]   class file for javax.xml.soap.Name not found
    [javac] /build/uddi4j-2.0.5/src/org/uddi4j/transport/ApacheAxisTransport.java:100: error: cannot access SOAPBodyElement
    [javac]             base = stringToElement(((SOAPBodyElement) result.elementAt(0)).toString());
    [javac]                                                                           ^
    [javac]   class file for javax.xml.soap.SOAPBodyElement not found
    [javac] /build/uddi4j-2.0.5/src/org/uddi4j/transport/ApacheAxisTransport.java:104: error: cannot access SOAPMessage
    [javac]                 base = stringToElement(m.getSOAPEnvelope().getFirstBody().toString());
    [javac]                                         ^
    [javac]   class file for javax.xml.soap.SOAPMessage not found
    [javac] /build/uddi4j-2.0.5/src/org/uddi4j/transport/ApacheAxisTransport.java:104: error: cannot access SOAPEnvelope
    [javac]                 base = stringToElement(m.getSOAPEnvelope().getFirstBody().toString());
    [javac]                                                           ^



Cheers,
Chris.



More information about the pkg-java-maintainers mailing list