EclipseStarter ClassNotFound; RCP won't start [message #452579] |
Fri, 07 July 2006 15:09  |
Eclipse User |
|
|
|
Originally posted by: mntbiknfool.yahoo.com
Trying to launch an RCP application fails with error:
"!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:333 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)".
Eclipse Console has:
"Configuration location:
file:/C:/java/eclipse-workspace/.metadata/.plugins/org.eclip se.pde.core/bpass.product/
Configuration file:
file:/C:/java/eclipse-workspace/.metadata/.plugins/org.eclip se.pde.core/bpass.product/config.ini loaded
Install location:
file:/C:/java/eclipse-RCP-3.2-win32/eclipse/
Framework located:
file:/C:/java/eclipse-SDK-3.2-win32/eclipse/org.eclipse.osgi
Framework classpath:".
The Framework located: value is incorrect. It should be something like " file:/C:/java/eclipse-RCP-3.2-win32/eclipse/plugins/org.ecli pse.osgi_3.2.0.v20060510.jar " and the bad value is causing the Framework classpath to be empty.
I've tried re-installing Eclipse and RCP, clearing out the eclipse/configuration subdirectories, and nothing has worked.
Under Eclipse, Preferences, Plug-In Development, Target Platform I have "C:\java\eclipse-RCP-3.2-win32\eclipse" specified.
How is the "Framework located" value determined?
Any help will be greatly appreciated.
Thanks, Todd.
|
|
|
|
|
|
Re: EclipseStarter ClassNotFound; RCP won't start [message #452700 is a reply to message #452652] |
Wed, 12 July 2006 20:27  |
Eclipse User |
|
|
|
Originally posted by: mntbiknfool.yahoo.com
Problem solved! I don't know why, but the product run configuration did not have any of the plugins selected so naturally the config.ini could not be generated correctly! Once I discovered this, I simply selected the necessary plugins in the menu path Run->Run...Eclipse Application->xxx.product plugin tab. You ever feel stupid when you find out what the real problem is???
|
|
|
Powered by
FUDForum. Page generated in 0.06459 seconds