gs-consuming-web-service: Does not build with jdk 11
Tried JDK 11 with the complete repository out of the box:
[WARNING] The POM for org.glassfish.jaxb:jaxb-runtime:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.glassfish.jaxb:jaxb-xjc:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] Error injecting: org.jvnet.mjiip.v_2.XJC2Mojo
java.lang.NoClassDefFoundError: com/sun/xml/bind/api/ErrorListener
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 18 (5 by maintainers)
If you add this ONE dependency to
gs-producing-web-service
:…then you can bump it’s
java.version
to11
and run it.That, combined with the changes found in https://github.com/edevil/spring-test/pull/2 should do the trick.