Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » NoClassDefFoundError at plugin runtime
NoClassDefFoundError at plugin runtime [message #871673] Mon, 14 May 2012 16:58
Stuart Harper is currently offline Stuart HarperFriend
Messages: 5
Registered: July 2009
Junior Member

I'm having some trouble writing a plugin that needs to call into some internal ant Classes in the* 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!
Previous Topic:Ways to get the plugin version from a class name that belongs to it
Next Topic:State of Equinox from 4.2
Goto Forum:

Current Time: Wed Oct 20 11:12:44 GMT 2021

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

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

Back to the top