Eclipse RCP cannot find EclipseStarter(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 features到 plug-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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Eclipse RCP 找不到 EclipseStarter


基础教程推荐
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- 降序排序:Java Map 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01