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

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

问题描述

我有一个RCP应用开发;代码是几年前写的,我必须完成它。我在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启动Eclipse平台的异常:
!STACK
java.lang.ClassNotFoundException:

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

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

解决方案

确定问题已解决,我只是更改选项产品配置基于 ,然后使用添加所有依赖项添加必需的插件$ C>。我不知道这是否是正确的方式,它只是工作。


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)

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.

解决方案

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天全站免登陆