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
A required class was missing javax/xml/bind/annotation/XmlSchema #798
[ERROR] Failed to execute goal com.simpligility.maven.plugins:android-maven-plugin:4.6.0:generate-sources (default-generate-sources) on project mmm-ui-android-tab: Execution default-generate-sources of goal com.simpligility.maven.plugins:android-maven-plugin:4.6.0:generate-sources failed: A required class was missing while executing com.simpligility.maven.plugins:android-maven-plugin:4.6.0:generate-sources: javax/xml/bind/annotation/XmlSchema
The XML API has been deprecated and removed from the JRE since Java 9, because it was too heavy and better suited to be an external library/module. That said: You need to define a dependency onto javax.xml.bind:jaxb-api:2.3.1 to have it back in your classpath, if you are using JDK 9 or above, e.g.
Activity
pawellabaj commentedon Apr 27, 2021
Is there any workaround for the issue except downgrading JDK?
Robin479 commentedon Nov 3, 2021
The XML API has been deprecated and removed from the JRE since Java 9, because it was too heavy and better suited to be an external library/module. That said: You need to define a dependency onto
javax.xml.bind:jaxb-api:2.3.1to have it back in your classpath, if you are using JDK 9 or above, e.g.