修复升级myeclipseforspring-8.6插件后不能启动的问题

同过在线的方式更新或安装新的插件后, 很多时候myeclipse就启动不了了。

在log里看到

!MESSAGE Product com.skyway.myeclipseforspring could not be found.

!ENTRY org.eclipse.osgi 4 0 2011-06-30 19:44:34.454
!MESSAGE Application error
!STACK 1

java.lang.RuntimeException: No application id has been found.

提示找不到product。原因是myeclipse在安装插件后没有更新config.ini。

解决方法:把config.ini中

myeclipse.product=com.skyway.myeclipseforspringcom.skyway.myeclipseforspring
osgi.splashPath=platform\:/base/plugins/com.skyway.myeclipseforspring

改成

yeclipse.product=com.genuitec.myeclipse.product85.ide
osgi.splashPath=platform\:/base/plugins/com.genuitec.myeclipse.product85

虽然是myeclipseforspring-8.6, 但product依然是myeclipse.product85

应为config.ini中有org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.inf
boundles.inf记录了所有的插件。在boundles.inf搜索com.genuitec.myeclipse.product85.ide, 发现它是指向8.6的一个jar


你可能感兴趣的:(MyEclipse,File,jar,application)