|[Solved] Using external libraries [message #665628]
||Fri, 15 April 2011 10:10
| Adrian Civil
Registered: January 2011
This may be a common problem and not entirely GMF specific, but for some reason I can't solve it.|
I'm trying to use the JGraphT library (Java library for graphs) in my GMF project. So a added the jar library file to the Java Build Path of the GMF diagram project. This allows me to use all of the functions and classes of JGraphT as one would expect.
However, when launching my application a NoClassDefFound Error occurs, which indicates that (most likely) my classpath is not configured properly.
What more need I do besides adding the library to the Java Build Path? Is this caused by the difference in the Build classpath and Runtime classpath?
Any help is greatly appreciated.
[Updated on: Fri, 15 April 2011 12:56]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02574 seconds