Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Classpath error
Classpath error [message #95800] Thu, 23 August 2007 13:53 Go to next message
Lars Ohlén is currently offline Lars OhlénFriend
Messages: 13
Registered: July 2009
Junior Member
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 22: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 Apr 25 13:13:39 GMT 2024

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

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

Back to the top