Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Failed to run RCP application after migration from eclipse 3.1 to eclipse 3.2(java.lang.NoClassDefFoundError: org/exolab/castor/mapping/Mapping)
Failed to run RCP application after migration from eclipse 3.1 to eclipse 3.2 [message #550343] Thu, 29 July 2010 21:11 Go to next message
Karl Chu is currently offline Karl Chu
Messages: 5
Registered: July 2010
Junior Member
Dear gurus

I tried to migrate our RCP application from eclipse 3.1 to 3.2. As long as I run the application, it returned an application error "java.lang.NoClassDefFoundError: org/exolab/castor/mapping/Mapping" (plug-in org.eclipse.osgi)

I am sure that the jar file, castor-0.9.5.3.jar, has been added into the library tab of the project already

Also, in the plugin.xml, the jar file has been added in the classpath (w/ "Export the entire library" ON) of the runtime tab.

Would you please help?

thank you

Regards

Karl
Re: Failed to run RCP application after migration from eclipse 3.1 to eclipse 3.2 [message #550438 is a reply to message #550343] Fri, 30 July 2010 07:21 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Two things come to mind. 1) if your plugin.xml still contains
<runtime/> and XML like that, you might want to convert it to using a
MANFIEST.MF for OSGi. That's been available since 3.0, IIRC.

At least if you have PDE create a MANIFEST.MF people would be able to
understand what your plugin specifies.

2) can you not move up to something more current? Even 3.4.x would be
good, 3.5.x is even better.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:I want translate this text into Chinese
Next Topic:open window with interactive process
Goto Forum:
  


Current Time: Fri Aug 01 08:11:37 EDT 2014

Powered by FUDForum. Page generated in 0.10124 seconds