-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
I am running chatbot within IDE and it throws following exception
2018-07-12 13:20:18.019 ERROR [localhost-startStop-1] "chatbot" [com.sun.jersey.server.impl.wadl.WadlApplicationContextImpl] c.s.j.s.i.w.WadlApplicationContextImpl - Implementation of JAXB-API has not been found on module path or classpath.
javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:177)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:364)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:508)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:465)
A bit of research showed that it it is related to Java-9 modularity and a worked around has already been implemented in pom.xml
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<!-- ~~~~~~~ support java 9 ~~~~~~~ -->
<!-- https://blog.frankel.ch/migrating-to-java-9/1/ -->
<jvmArguments>--add-modules java.xml.bind</jvmArguments>
</configuration>
</plugin>
which doesn't seem to work. May be someone can look into it who has more insight on this.
The application, however seems to work normally, its just an annoying error in the console 😄
Reactions are currently unavailable