Eclipse RCP 找不到 EclipseStarter [英] Eclipse RCP cannot find EclipseStarter

查看:52
本文介绍了Eclipse RCP 找不到 EclipseStarter的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 RCP 应用程序要开发;代码是几年前写的,我必须完成它.我在 Eclipse 中导入了插件,我解决了所有依赖项,但是当我尝试启动它时,我得到了这个错误:

I have an RCP application to develop; 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:

!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)

我尝试重新安装 Eclipse zip(全部删除并重新解压缩),但仍然无法正常工作.我尝试使用 -clean 选项启动应用程序以重建缓存,但它仍然无法正常工作.但是,如果我使用 hello-feature 和 hello-product 创建一些虚拟的 hello-plugin,一切正常.有人有一些提示可以解决这个问题吗?谢谢.

I try to reinstall the Eclipse zip (deleting all and reunzipping it), but it still not work. I try to start the application with the -clean option to rebuild the cache, but it still not work. But if I create some dummy hello-plugin with hello-feature and hello-product, all works fine. Anyone have some hints to solve this problem? Thanks.

推荐答案

好的,问题解决了,我只是把选项产品配置基于 from featuresplug-ins 并使用按钮 Add Required Plug-ins 添加所有依赖项.我不知道这是否是正确的方法,它只是工作.

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. I don't know if this is the correct way, it just work.

这篇关于Eclipse RCP 找不到 EclipseStarter的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆