faq 311492645 - matsim-org/matsim-code-examples GitHub Wiki

JAXBException in Java 10

by Aseem Awad on 2018-08-26 07:54:54


I ran matsim 0.10.1 on Java 10, and I got this error.

java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

I checked out StackEx, and it turns out this issue affects Java 9/10 users. When .jar file is created, there are some changes that can be done to pom.xml that might fix the issue.

Currently I have downloaded an older version of Java ("1.8.0_181"), and MATSim is working.


Comments: 0

⚠️ **GitHub.com Fallback** ⚠️