Skip to main content



      Home
Home » Newcomers » Newcomers » NoClassDefFound - BundleURLConnection
NoClassDefFound - BundleURLConnection [message #125544] Thu, 22 December 2005 14:00
Eclipse UserFriend
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
Previous Topic:listViewer error in code
Next Topic:starting up eclipse on fedora
Goto Forum:
  


Current Time: Sun Jun 01 18:13:42 EDT 2025

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

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

Back to the top