简体   繁体   English

Eclipse RCP找不到EclipseStarter

[英]Eclipse RCP cannot find EclipseStarter

I have an RCP application to develop; 我有一个RCP应用程序要开发; the code was written a couple of years ago, and I have to finish it. 该代码是几年前编写的,我必须完成它。 I imported the plugins in Eclipse, I solve all the dependencies, but when I try to launch it I get this error: 我在Eclipse中导入了插件,我解决了所有依赖关系,但是当我尝试启动它时,出现此错误:

!SESSION Tue Mar 29 10:13:24 CEST 2011 
-----------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2011-03-29 10:13:24.326
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: 

org.eclipse.core.runtime.adaptor.EclipseStarter
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:617)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

I try to reinstall the Eclipse zip (deleting all and reunzipping it), but it still not work. 我尝试重新安装Eclipse zip(删除所有内容并重新解压缩),但是仍然无法正常工作。 I try to start the application with the -clean option to rebuild the cache, but it still not work. 我尝试使用-clean选项启动应用程序以重建缓存,但是仍然无法正常工作。 But if I create some dummy hello-plugin with hello-feature and hello-product, all works fine. 但是,如果我创建了一些具有hello功能和hello-product的虚拟hello插件,则一切正常。 Anyone have some hints to solve this problem? 有人有解决这个问题的提示吗? Thanks. 谢谢。

Ok the problem is solved, i just change the option The product configuration is based on from features to plug-ins and add all the dependencies with the button Add Required Plug-ins . 好的,问题解决了,我只需更改选项即可The product configuration is based on功能插件的过程,并通过Add Required Plug-ins按钮Add Required Plug-ins所有依赖Add Required Plug-ins I don't know if this is the correct way, it just work. 我不知道这是不是正确的方法,就可以了。

I had the exact same issue. 我有完全相同的问题。

My OS is windows 7. I opened Eclipse (really RAD in my case) as an administrator. 我的操作系统是Windows7。我以管理员身份打开了Eclipse(在我的情况下为RAD)。 Opened with out any issues. 打开没有任何问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM