Jhipster with jdk-11

Asked by At

I created a project with JHipster 6.0.0-beta.0 and java version "11.0.2" 2019-01-15 LTS

I get the following error.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project mx: Fatal error compiling: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException: javax.xml.bind.JAXBException -> [Help 1]

Any suggestions how to solve it?

2 Answers

emilly On
The solution is:

Add the following under <!-- For JPA static metamodel generation -->

dna On

In your pom.xml what is the value of balise Java. Version