[英]Eclipse RCP cannot find EclipseStarter
我有一個RCP應用程序要開發; 該代碼是幾年前編寫的,我必須完成它。 我在Eclipse中導入了插件,我解決了所有依賴關系,但是當我嘗試啟動它時,出現此錯誤:
!SESSION Tue Mar 29 10:13:24 CEST 2011
-----------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2011-03-29 10:13:24.326
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException:
org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:617)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
我嘗試重新安裝Eclipse zip(刪除所有內容並重新解壓縮),但是仍然無法正常工作。 我嘗試使用-clean
選項啟動應用程序以重建緩存,但是仍然無法正常工作。 但是,如果我創建了一些具有hello功能和hello-product的虛擬hello插件,則一切正常。 有人有解決這個問題的提示嗎? 謝謝。
好的,問題解決了,我只需更改選項即可The product configuration is based on
從功能到插件的過程,並通過Add Required Plug-ins
按鈕Add Required Plug-ins
所有依賴Add Required Plug-ins
。 我不知道這是不是正確的方法,就可以了。
我有完全相同的問題。
我的操作系統是Windows7。我以管理員身份打開了Eclipse(在我的情況下為RAD)。 打開沒有任何問題。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.