|NoClassDefFoundError at plugin runtime [message #871443]
||Sun, 13 May 2012 19:29
| Stuart Harper
Registered: July 2009
I'm having some trouble writing a plugin that needs to call into some internal ant Classes in the org.apache.tools.ant.* package. I've tried the following:
1. Adding the org.apache.ant bundle as a dependency in my manifest
2. Creating a lib folder, dropping the ant.jar in there and adding it to my bundle-classpath
Both produce the same result: At compile time everything works fine and if I execute my code through a main() function in a Java launcher everything works as expected. However when I try to use it within Eclipse itself I get a NoClassDefFoundError on the Ant code as soon as I try to invoke it.
Does anyone have any thoughts on how to resolve this? Everything I can find suggests this should work!
Powered by FUDForum
. Page generated in 0.01878 seconds