Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » NoClassDefFoundError(Oh my god ! : NoClassDefFoundError, NoClassDefFoundError and NoClassDefFoundError again)
NoClassDefFoundError [message #1766505] Thu, 22 June 2017 06:27 Go to next message
Eclipse UserFriend
Hi,

I have some skills in PDE.
But for the first time, I want to develop a standalone Eclipse windowless application : a line command taking user-parameters on command-line, which does the job and quits.

I encounter in the overrided IApplication.start() a NoClassDefFoundError when calling my own class located in a lib eclipse plugin of my own, org.xmlgen.

Nevertheless, I have declared org.xmlgen in required plug-ins and mostly, I have checked my workspace plugin in plugins panel of Run configuration.

org.xmlgen (lib) plugin is built correctly. Its classes are stored in bin directory of org.xmlgen project.

So, please, what's wrong ? Do I miss something to do ?

[Updated on: Thu, 22 June 2017 06:28] by Moderator

Re: NoClassDefFoundError [message #1766542 is a reply to message #1766505] Thu, 22 June 2017 16:50 Go to previous messageGo to next message
Eclipse UserFriend
Ok ...

Seems to be a bug of Equinox/Eclipse.

The org.xmlgen plugin is developed under git and while ./git is the workspace base directory, the project is under ./git/org.xmlgen/org.xmlgen_dev/.

It is well managed by Eclipse IDE but Equinox fails to ...

Great ...
Re: NoClassDefFoundError [message #1766885 is a reply to message #1766542] Wed, 28 June 2017 10:26 Go to previous message
Eclipse UserFriend
Um, it's not a bug in Equinox: the Eclipse IDE uses this same mechanism to launch the IDE.

You'll need to create an "Eclipse product". Your product defines, amongst other things, the default application[/em], for which you provide your IApplication class.

You then need to create your product, either using the Export option or, better yet, using a build tool like Tycho (for Maven), or Goomph (for Gradle).

Brian.
Previous Topic:IPerspectiveFactory in an e4 application
Next Topic:Keep contributed part hidden till requested
Goto Forum:
  


Current Time: Wed Jul 23 08:04:17 EDT 2025

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

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

Back to the top