尝试在eclipse 3.5中安装groovy插件,我正在使用更新站点 [http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.5/][1] 它确实安装,但当它尝试重新启动时,我得到一个例外。
!SESSION Sat Aug 29 15:47:17 PDT 2009 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2009-08-29 15:47:17.287
!MESSAGE Exception launching the Eclipse Platform:
!STACK java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
我尝试开始使用-clean选项,删除工作区没有运气
有没有人得到这个?
答案 0 :(得分:1)
看起来你错过了插件所需的类或jar;我不确定哪一个,因为stacktrace并不表示任何这样的插件特定类。您可以尝试以下操作:
$eclipse -consolelog -debug | tee debugfile.log
答案 1 :(得分:0)
现在好了,最后我用eclipse修复了2天后,所以出于某种原因,当安装了groovy插件时,eclipse修改了配置文件夹中的config.ini文件 所以我必须修改config.ini文件,用
替换'osgi.bundles'值osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.100.v20090520-1905.jar@1\:start,reference\:file\:plugins/org.eclipse.jdt.core_3.5.0.xx-20090828-1900-e35.jar@4,reference\:file\:/Applications/galileo/plugins/org.apache.commons.collections_3.2.1.jar@4,reference\:file\:/Applications/galileo/plugins/org.apache.commons.lang_2.3.0.v200803061910.jar@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy_1.7.0.xx-20090828-1900-e35/@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy.eclipse.ant_2.0.0.xx-20090828-1900-e35/@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy.eclipse.codeassist.completion_2.0.0.xx-20090828-1900-e35.jar@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy.eclipse.codebrowsing_2.0.0.xx-20090828-1900-e35.jar@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy.eclipse.core_2.0.0.xx-20090828-1900-e35.jar@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy.eclipse.core.help_2.0.0.xx-20090828-1900-e35/@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy.eclipse.cstviewer_2.0.0.xx-20090828-1900-e35.jar@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy.eclipse.refactoring_2.0.0.xx-20090828-1900-e35.jar@4,reference\:file\:/Applications/galileo/plugins/org.codehaus.groovy.eclipse.ui_2.0.0.xx-20090828-1900-e35.jar@4,reference\:file\:/Applications/galileo/plugins/org.eclipse.jdt.groovy.core_1.0.0.xx-20090828-1900-e35.jar@4
默认情况下osgi.bundles的值是osgi.bundles = reference:file:org.eclipse.equinox.simpleconfigurator_1.0.100.v20090520-1905.jar@1:启动但是一旦我安装了groovy插件我就有了修改后的值这导致eclipse fali开始。
现在我的日食开始了,我也看到了常规的特征..
答案 2 :(得分:0)
在运行TeXlipse的Eclipse Platform安装上安装CVS插件时遇到了同样的问题。事实证明,在安装CVS之后,安装程序修改了osgi.bundles,而不是osgi.framework ......
/Applications/TeXlipse/configuration/config.ini说:
osgi.framework=file\:/Applications/TeXlipse/Eclipse.app/Contents/MacOS/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar
应该说
osgi.framework=file\:/Applications/TeXlipse/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar