Eclipse RCP 找不到 EclipseStarter

编程入门 行业动态 更新时间:2024-10-15 08:27:26
本文介绍了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.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.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屋!

更多推荐

[db:关键词]

本文发布于:2023-03-19 07:23:42,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/637052.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:找不到   Eclipse   RCP   EclipseStarter

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!