If you use a build tool, add these dependencies to your configuration file to automatically download the correct JARs. Maven Configuration ( pom.xml )
To fix this missing class error, you need the or JAXB Core JAR files. You can find these on major artifact repositories: com.sun.xml.bind.api.errorlistener jar download
Add both the implementation and core artifacts to ensure all classes in the com.sun.xml.bind package are available: jaxb-impl » 2.2.2 - com.sun.xml.bind - Maven Repository If you use a build tool, add these
For a complete set of JARs, you can download the standalone distribution and extract jaxb-impl.jar and jaxb-api.jar . Adding Dependencies via Maven or Gradle If you use a build tool