【发布时间】:2010-12-22 09:34:03
【问题描述】:
我开发了一个 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
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)
您能否帮我解决这个错误的可能原因。
【问题讨论】:
标签: eclipse-rcp