-
Notifications
You must be signed in to change notification settings - Fork 181
faq 311558169
by Aseem Awad on 2018-08-25 16:53:56
Hey,
I've downloaded matsim-0.10.1. When running MATSIM for the first time I'm getting the error -
java.lang.IncompatibleClassChangeError: Found interface org.matsim.core.config.ConfigWriterHandler, but class was expected
According to an answer on StackExchange...
This happens when your runtime classpath is different than your compile time classpath.
When your application was compiled, a class (named
org.matsim.core.config.ConfigWriterHandler
in your question) existed as a class.When your application is running at compile time,
org.matsim.core.config.ConfigWriterHandler
exists as an interface (instead of a class.)This causes an
IncompatibleClassChangeError
to be thrown at runtime.This is a common occurence if you had a different version of a jar file on the compile time classpath than on the runtime classpath.
Do I need to compile matsim.jar on my own? Any suggestions would help.
by Joschka Bischoff on 2018-08-25 17:01:00
Hi Asseem,
I see the problem. I'll try to fix it in the next days.
Until then, try using the MATSim example project .
Bests,
Joschka
by Joschka Bischoff on 2018-08-26 06:04:38
Hi Aseem,
there was indeed a little bug in the downloadable package. I have now fixed it on the website
Thanks for reporting!
Joschka
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq