We are looking at upgrading some legacy code to Java 10. As JAXB is not visible by default (EDIT: and the proper long term solution is not to circumvent the sympto
kudos to @Roman Grigoriadi , He was right, the updated 2.4 version fixes the warning issues.
2.4
Just add the dependencies below to the pom file
pom
javax.xml.bind jaxb-api 2.4.0-b180830.0359 org.glassfish.jaxb jaxb-runtime 2.4.0-b180608.0325