NoClassDefFoundError [message #1766505] |
Thu, 22 June 2017 06:27  |
Eclipse User |
|
|
|
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 #1766885 is a reply to message #1766542] |
Wed, 28 June 2017 10:26  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03451 seconds