我剛剛導出了一款產品,如果我點擊「啓動Eclipse應用程序」按鈕,它可以很好地工作。如果嘗試執行的出口產品,我上啓動以下異常:我出口產品eclipse產品調用導致java.lang.RuntimeException:沒有找到應用程序ID
!SESSION 2012-03-16 17:28:21.206 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.osgi 4 0 2012-03-16 17:28:22.184
!MESSAGE Application error
!STACK 1
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:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
就在我進行的依賴關係的驗證,這是罰款。你有什麼錯誤的線索嗎?謝謝!
謝謝。我檢查了'config.ini'的設置,但沒有對其進行自定義。 – kon 2012-03-22 11:56:58
嘗試使用Eclipse中的遠程java調試來調試導出的產品,並添加-console參數。然後使用OSGi「ss」命令查看產品中實際配置了哪些插件及其狀態。 – 2012-03-22 12:13:39
我試着用下面的命令'./eclipse -consoleLog -vmargs -Xdebug -Xrunjdwp:transport = dt_socket,server = y,suspend = y,address = 1044'。我沒有能力嘗試'ss'命令,因爲消息立即出現並且VM終止。 eclipse文件夾只包含配置和插件文件夾以及可執行文件eclipse。這有點奇怪,因爲我習慣在根eclipse文件夾中有更多的文件。感謝您的幫助! – kon 2012-03-23 13:12:59