Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DCM build fails on Ubuntu 18.04 with Java 11 #97

Open
guyclarke46 opened this issue Jan 22, 2020 · 1 comment
Open

DCM build fails on Ubuntu 18.04 with Java 11 #97

guyclarke46 opened this issue Jan 22, 2020 · 1 comment

Comments

@guyclarke46
Copy link

Trying to build DCM on Ubuntu 18.04 with Java 11 and getting the following errors. Don't know if its a version problem or some other config problem on my ubuntu.

commandline:
[mkdir] Created dir: /home/guy/datapower-configuration-manager/build/locale
[mkdir] Created dir: /home/guy/datapower-configuration-manager/dist
[get] Getting: http://search.maven.org/remotecontent?filepath=xalan/xalan/2.7.2/xalan-2.7.2.jar
[get] To: /home/guy/datapower-configuration-manager/lib/xalan-2.7.2.jar
[get] http://search.maven.org/remotecontent?filepath=xalan/xalan/2.7.2/xalan-2.7.2.jar permanently moved to https://repo1.maven.org:443/fromsearch?filepath=xalan/xalan/2.7.2/xalan-2.7.2.jar
[get] https://repo1.maven.org:443/fromsearch?filepath=xalan/xalan/2.7.2/xalan-2.7.2.jar permanently moved to https://repo1.maven.org/maven2/xalan/xalan/2.7.2/xalan-2.7.2.jar
[get] Getting: http://search.maven.org/remotecontent?filepath=xalan/serializer/2.7.2/serializer-2.7.2.jar
[get] To: /home/guy/datapower-configuration-manager/lib/serializer-2.7.2.jar
[get] http://search.maven.org/remotecontent?filepath=xalan/serializer/2.7.2/serializer-2.7.2.jar permanently moved to https://repo1.maven.org:443/fromsearch?filepath=xalan/serializer/2.7.2/serializer-2.7.2.jar
[get] https://repo1.maven.org:443/fromsearch?filepath=xalan/serializer/2.7.2/serializer-2.7.2.jar permanently moved to https://repo1.maven.org/maven2/xalan/serializer/2.7.2/serializer-2.7.2.jar
[javac] Compiling 19 source files to /home/guy/datapower-configuration-manager/build/locale
[javac] warning: [options] bootstrap class path not set in conjunction with -source 6
[javac] warning: [options] source value 6 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] /home/guy/datapower-configuration-manager/src/com/ibm/dcm/SSLConnection.java:26: error: package javax.xml.bind does not exist
[javac] import javax.xml.bind.DatatypeConverter;
[javac] ^
[javac] /home/guy/datapower-configuration-manager/src/com/ibm/dcm/MyNamespaces.java:29: error: MyNamespaces is not abstract and does not override abstract method getPrefixes(String) in NamespaceContext
[javac] public class MyNamespaces implements javax.xml.namespace.NamespaceContext {
[javac] ^
[javac] /home/guy/datapower-configuration-manager/src/com/ibm/dcm/MyNamespaces.java:51: error: getPrefixes(String) in MyNamespaces cannot implement getPrefixes(String) in NamespaceContext
[javac] public Iterator getPrefixes(String namespaceURI) { [javac] ^ [javac] return type Iterator is not compatible with Iterator
[javac] /home/guy/datapower-configuration-manager/src/com/ibm/dcm/SSLConnection.java:284: error: cannot find symbol
[javac] buf.append(DatatypeConverter.printBase64Binary(cert.getEncoded()).replaceAll("(.{64})", "$1\n"));
[javac] ^
[javac] symbol: variable DatatypeConverter
[javac] location: class SSLConnection
[javac] Note: /home/guy/datapower-configuration-manager/src/com/ibm/dcm/Soma.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 4 errors
[javac] 4 warnings

@guyclarke46
Copy link
Author

jaxb has been removed from Java 11, installed java 8 and the build was ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant