NoClassDefFound - BundleURLConnection [message #125544] |
Thu, 22 December 2005 14:00 |
Eclipse User |
|
|
|
Originally posted by: harrim9.yahoo.com
Hello,
I have inherited a plugin developed primarily by another team. We are now
moving to RAD(Eclipse 3.0), and the plugin is not compatible. Currently
it uses IPluginDescriptor to access the file system. I'm trying to
convert it to use Bundle instead. I make a call to
Platform.getBundle("PluginSymbolicName").getEntry("/").openConnection().
If I leave this as a URLConnection, there is no problem, but when I try to
cast it to a BundleURLConnection, I get a NoClassDefFoundError. When I
run in debug mode, I can clearly see that the data type is a
BundleURLConnection, so I believe eclipse is able to find this class, but
my plugin is not. I've tracked this class down to the
org.eclipse.osgi_3.0.1 plugin, but since it's part of the eclipse
framework, I can't seem to explicitly define a dependancy on it. Any help
would be greatly appreciated.
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.07304 seconds