Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » [Solved] Using external libraries
[Solved] Using external libraries [message #665628] Fri, 15 April 2011 06:10 Go to next message
Adrian Civil is currently offline Adrian Civil
Messages: 10
Registered: January 2011
Junior Member
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 08:56]

Report message to a moderator

Re: Using external libraries [message #665673 is a reply to message #665628] Fri, 15 April 2011 08:56 Go to previous message
Adrian Civil is currently offline Adrian Civil
Messages: 10
Registered: January 2011
Junior Member
Somehow you always find the solution just after you create a new topic Smile

I've added the library to the runtime classpath using the manifest and now it does work...

Sorry for the unnecessary topic.
Previous Topic:"create new" from palette or diagram does not work in generatet diagram
Next Topic:Modify EList Editor
Goto Forum:
  


Current Time: Mon Jul 28 18:34:51 EDT 2014

Powered by FUDForum. Page generated in 0.02188 seconds