Skip to main content


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 10:10 Go to next message
Adrian Civil is currently offline Adrian CivilFriend
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 12:56]

Report message to a moderator

Re: Using external libraries [message #665673 is a reply to message #665628] Fri, 15 April 2011 12:56 Go to previous message
Adrian Civil is currently offline Adrian CivilFriend
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: Wed Apr 24 16:31:16 GMT 2024

Powered by FUDForum. Page generated in 0.02992 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top