Skip to main content



      Home
Home » Eclipse Projects » Equinox » Classpath error
Classpath error [message #95800] Thu, 23 August 2007 09:53 Go to next message
Eclipse UserFriend
Hi,

I have created a set of OSGi bundles that runs
without any error when I launch equinox from within Eclipse
(PDE)

When I have exported the bundles and try to launch the framework
with the same bundles I run into a classloading error.

Exception:
Caused by: java.lang.NoClassDefFoundError: javax/naming/Referenceable

Equinox 3.3 java 1.5.0_10 on Windows XP


Any help appreciated

BR

Lars
Re: Classpath error [message #95833 is a reply to message #95800] Thu, 23 August 2007 18:16 Go to previous message
Eclipse UserFriend
Originally posted by: alex_blewitt.yahoo.com

You've almost certainly put j2ee.jar on the classpath of your bundle project, but you should have added it to the Manifest's Bundle-ClassPath instead.

Alex.
Previous Topic:Instructions for debugging the servletbridge using WST and the PDE (long)
Next Topic:Using Extension Registry without OSGi
Goto Forum:
  


Current Time: Thu Jul 17 03:36:26 EDT 2025

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

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

Back to the top