Skip to content

faq 88441031

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

What to do when I get a "java.lang.NoClassDefFoundError: org/jxmapviewer/viewer/TileFactoryInfo" error?

by Kai Nagel on 2016-10-18 15:08:26


Logfile attached.  Happening with my current version (which is presumably some garbled version of 0.9.0-SNAPSHOT).


250


Comments: 1


Re: What to do when I get a "java.lang.NoClassDefFoundError: org/jxmapviewer/viewer/TileFactoryInfo" error?

by Kai Nagel on 2016-10-18 15:23:33

Running it as a complete maven build works:

mvn -o -f ~/git/matsim/pom.xml --projects playgrounds/kai/ \
   --also-make install -DskipTests
 mvn -o -f ~/git/matsim/playgrounds/kai/pom.xml exec:java \
   -Dexec.mainClass="playground.kai.otfvis.TransitControler" \
   -Dexec.args="kaiconfig.xml"

So presumably some library is missing.  Should be fixable by downloading a new nightly build ... but we currently don't have nightly build.  So building via mvn for the time being ...

Clone this wiki locally