You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
javax/xml/bind/annotation/XmlSchema missing with Java 10 #778
I believe Java 9+ is unsupported but was hoping to have this error documented at least. I have an Android task that uses android-maven-plugin in the midst of a larger regular Java product. I'd like to use Java 10 elsewhere and am trying it out to see what breaks - currently it's our Android task. Here's the output I get:
[ERROR] Failed to execute goal com.simpligility.maven.plugins:android-maven-plugin:4.5.0:generate-sources (default-generate-sources) on project toolkit: Execution default-generate-sources of goal com.simpligility.maven.plugins:android-maven-plugin:4.5.0:generate-sources failed: A required class was missing while executing com.simpligility.maven.plugins:android-maven-plugin:4.5.0:generate-sources: javax/xml/bind/annotation/XmlSchema
[ERROR] -----------------------------------------------------
[ERROR] realm = extension>com.simpligility.maven.plugins:android-maven-plugin:4.5.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/root/.m2/repository/com/simpligility/maven/plugins/android-maven-plugin/4.5.0/android-maven-plugin-4.5.0.jar
[...]
[ERROR] urls[83] = file:/root/.m2/repository/org/codehaus/plexus/plexus-compiler-javac/2.7/plexus-compiler-javac-2.7.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: javax.xml.bind.annotation.XmlSchema
I've tried export MAVEN_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee' before running mvn package (as this fixed sdkmanager) but this didn't help.
Reacted by Kay J., Andreas Lüdeke and Roshan Kumar
changed the title [-]javax/xml/bind/annotation/XmlSchema missing with Java 9[/-][+]javax/xml/bind/annotation/XmlSchema missing with Java 10[/+]on Aug 16, 2018
Activity
[-]javax/xml/bind/annotation/XmlSchema missing with Java 9[/-][+]javax/xml/bind/annotation/XmlSchema missing with Java 10[/+]mosabua commentedon May 3, 2019
Yes .. Java 9+ is not supported. If anything it might go to 11 but not sure at this stage