Hello,

I need to create an executable jar from my current project. I have followed
the steps described on site with the maven shade plugin, however when
running the application i get the following error message:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/geotools/graph/st
ructure/Graphable
        at org.geotools.route.Main.main(Main.java:198)
Caused by: java.lang.ClassNotFoundException:
org.geotools.graph.structure.Grapha
ble
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 1 more

I also tried to add a geotools jar in the classpath when calling the
project jar but that one is retrieving the same error.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to