首页 新闻 会员 周边 捐助

开发RCP程序,运行错误

0
悬赏园豆:30 [已关闭问题]

在我按照书上的步骤做的时候,创建个“hello ,world操作集”完成后,保存

用Eclipse应用程序方式进行试运行 出现:应用程序未能启动,想要查看日志吗?

我在日志中查看的内容如下:

!SESSION 2009-04-17 01:46:55.031 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Framework arguments:  -application com.fengmanfei.myrcp.application
Command-line arguments:  -application com.fengmanfei.myrcp.application -data D:\Program Files\eclipse\WorkSpace/../runtime-Eclipse应用程序(1) -dev file:D:/Program Files/eclipse/WorkSpace/.metadata/.plugins/org.eclipse.pde.core/Eclipse 应用程序 (1)/dev.properties -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 4 0 2009-04-17 01:46:55.734
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: 在注册表中找不到应用程序“com.fengmanfei.myrcp.application”。可用的应用程序有:<NONE>。
 at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:68)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
 at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
 at org.eclipse.core.launcher.Main.run(Main.java:977)
 at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.osgi 2 0 2009-04-17 01:46:55.734
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-04-17 01:46:55.734
!MESSAGE Bundle initial@reference:file:WorkSpace/MyRCP/ was not resolved.
!SUBENTRY 2 com.fengmanfei.myrcp 2 0 2009-04-17 01:46:55.734
!MESSAGE Missing required bundle org.eclipse.core.resources_0.0.0.
!SUBENTRY 2 com.fengmanfei.myrcp 2 0 2009-04-17 01:46:55.734
!MESSAGE Missing required bundle org.eclipse.ui.ide_0.0.0.

!ENTRY org.eclipse.osgi 2 0 2009-04-17 01:46:55.734
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-04-17 01:46:55.734
!MESSAGE Bundle initial@reference:file:WorkSpace/MyRCP/ [43] was not resolved.
!SUBENTRY 2 com.fengmanfei.myrcp 2 0 2009-04-17 01:46:55.734
!MESSAGE Missing required bundle org.eclipse.core.resources_0.0.0.
!SUBENTRY 2 com.fengmanfei.myrcp 2 0 2009-04-17 01:46:55.734
!MESSAGE Missing required bundle org.eclipse.ui.ide_0.0.0.

秋天的童话的主页 秋天的童话 | 初学一级 | 园豆:170
提问于:2009-04-17 09:49
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册