dice-group / dice-group/sask

Chatbot throws JAXB-API excetpion

Open
#77 7 comments 0 reactions 0 assignees View on GitHub
up-for-grab
Dominant language
Java
Stars
2
Forks
10
PR merge metrics
No merged PRs in 30d

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
```

org.springframework.boot
spring-boot-maven-plugin



--add-modules java.xml.bind


```
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 😄

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.