[OSM-dev] Custom JOSM build - error message
Nick Whitelegg
nick at hogweed.org
Thu Sep 14 21:54:08 BST 2006
Just tried testing some code I've added to JOSM to render ways in different
colours depending on tagging. Built using ant (no arguments) and tried to run
the resulting JAR file. However I get this error message:
[nick at 58 dist]$ Exception in thread "main" java.lang.NoClassDefFoundError:
org/openstreetmap/josm/tools/BugReportExceptionHandler
at org.openstreetmap.josm.gui.MainApplication.main(Unknown Source)
It looks like part of the source hasn't built - yet I didn't get any error
message. If I look in the JAR file for compiled classes from 'tools', the
BugReportExceptionHandler is not present:
inflated: org/openstreetmap/josm/tools/GBC.class
inflated: org/openstreetmap/josm/tools/I18n.class
inflated: org/openstreetmap/josm/tools/ImageProvider$1.class
inflated: org/openstreetmap/josm/tools/ImageProvider$OverlayPosition.class
inflated: org/openstreetmap/josm/tools/ImageProvider.class
inflated: org/openstreetmap/josm/tools/TileCache$1.class
inflated: org/openstreetmap/josm/tools/TileCache$TileInformation.class
inflated: org/openstreetmap/josm/tools/TileCache.class
Any ideas what's happening here?
Thanks,
Nick
More information about the dev
mailing list