SwitchEV / RISE-V2G

The only fully-featured reference implementation of the Vehicle-2-Grid communication interface ISO 15118
MIT License
220 stars 92 forks source link

openjdk11 JAXB #57

Closed Papadiddypub closed 2 years ago

Papadiddypub commented 4 years ago

Java 11 has JAXB removed. Therefore compiling with maven throws an error: package javax.xml.bind does not exist. Adding

\   \javax.xml.bind\   \jaxb-api\   \2.3.1\ \

in \ solved the issue. More information can be found here: https://www.jesperdj.com/2018/09/30/jaxb-on-java-9-10-11-and-beyond/

I did not test for downgrade compatibility

nx518 commented 4 years ago

Thanks, I had the same issue and your hint resolved it.

scotty1269 commented 3 years ago

Also thank you! But I needed to add this additional dependency to get all errors removed:

'

org.glassfish.jaxb jaxb-runtime 2.3.2

'