Does not work with Java 11
sagevoice opened this issue · 5 comments
sagevoice commented
As written this code does not work under Java 11. However it can be fixed by adding some dependencies to the pom file. I added the following dependencies and it seems to be working for me fine now.
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>2.3.0.1</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.25.0-GA</version>
</dependency>
I hope this helps anyone else trying to get this running with Java 11
paulc4 commented
Thanks for doing this.
I will leave the pom as it is for now, since Java 8 is still so prevalent.
skifans commented
Thank you - just commenting that adding the same extra dependencies fixed this for Java 12 as well.
paulc4 commented
Thanks again. I have updated my README to reference this issue.
Leandro-FM commented
Obrigado ! Salvou.
286010056 commented
这是来自QQ邮箱的假期自动回复邮件。您好,我以收到您的邮件,会尽快给您回复。