Eclipse rcp 在eclipse RCP应用程序中找不到框架
我已经开发了一个eclipse RCP应用程序,我正在从自己的Java程序调用它。Eclipse rcp 在eclipse RCP应用程序中找不到框架,eclipse-rcp,Eclipse Rcp,我已经开发了一个eclipse RCP应用程序,我正在从自己的Java程序调用它。 当我在命令提示符(windows)下运行我自己的Java程序时,它可以完美地工作并给出结果 但是,当我在eclipse 3.2中与ant构建脚本集成时,会出现以下问题: !ENTRY org.eclipse.core.launcher 4 0 Dec 02, 2009 10:53:17.608 !MESSAGE Exception launching the Eclipse Platform: !STACK ja
当我在命令提示符(windows)下运行我自己的Java程序时,它可以完美地工作并给出结果 但是,当我在eclipse 3.2中与ant构建脚本集成时,会出现以下问题:
!ENTRY org.eclipse.core.launcher 4 0 Dec 02, 2009 10:53:17.608
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.RuntimeException: Could not find framework
at org.eclipse.core.launcher.Main.getBootPath(Main.java:395)
at org.eclipse.core.launcher.Main.basicRun(Main.java:174)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at xxx.xxx.xxxx.MyCodeGenerator.main(MyCodeGenerator.java:13)
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:585)
at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:202)
at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:134)
您能帮我找出导致此错误的可能原因吗。如中所述,您:
- 您不仅需要将希望导出的平台插件添加到功能的依赖插件列表中
- 但是你也必须列出包含的插件
在“启动配置”对话框的“插件”选项卡中,有一个“验证插件”按钮,您可以单击该按钮来验证是否满足“所选”插件的所有依赖关系。
如果出现一些错误,可以单击“
添加所需插件”
”以更正错误