首页 > 移动平台 > 详细

eclipse 4 rcp开发: java.lang.RuntimeException: No application id has been found.

时间:2014-11-28 06:29:47      阅读:537      评论:0      收藏:0      [点我收藏+]

eclipse 4.2.x (June )rcp + E4:http://download.eclipse.org/e4/updates/0.12

自带windowbuilder 1.2

e4 css spy +e4 tools:建立一个默认的E4 application;

建立好后,直接执行:

错误详情:

java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

解决方法:

打开.product文件,切换到dependencies,点击add required plug-ins按钮,保存,再切换到overview运行。(重新编译),并且移除其他的带叉叉的,主要是其他的系统的包。直接编译就行了。

bubuko.com,布布扣4

导出为RCP程序也没有问题。


eclipse 4 rcp开发: java.lang.RuntimeException: No application id has been found.

原文:http://westsky.blog.51cto.com/358372/1583501

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!