解决MyEclipse 8.0 升级至 8.5 无法启动的问题
解决办法:
修改 config.ini,把这俩参数给改了
eclipse.product=com.genuitec.myeclipse.product8.ide
osgi.splashPath=platform\:/base/plugins/com.genuitec.myeclipse.product8
改为:
eclipse.product=com.genuitec.myeclipse.product85.ide
osgi.splashPath=platform\:/base/plugins/com.genuitec.myeclipse.product85
OK!!
前两天更新MyEclipse的SVN插件的时候提示可以从8.0更新到8.5,于是很Happy地点了更新。
当时也准备关闭才更新的,也没注意是否更新成功,今天再次启动,提示Message并无法启动......@_@
还好,无法启动有log看:
1. !SESSION 2010-03-29 00:39:45.734 -----------------------------------------------
2. eclipse.buildId=unknown
3. java.version=1.6.0_13
4. java.vendor=Sun Microsystems Inc.
5. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
6. Command-line arguments: -os win32 -ws win32 -arch x86
7.
8. !ENTRY org.eclipse.equinox.app 0 0 2010-03-29 00:40:23.281
9. !MESSAGE Product com.genuitec.myeclipse.product8.ide could not be found.
10.
11. !ENTRY org.eclipse.equinox.p2.repository 4 0 2010-03-29 00:40:24.250
12. !MESSAGE ProvisioningEventBus could not be obtained. Metadata caches may not be cleaned up properly.
13.
14. !ENTRY org.eclipse.osgi 4 0 2010-03-29 00:40:31.421
15. !MESSAGE Application error
16. !STACK 1
17. java.lang.RuntimeException: No application id has been found.
18. at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:236)
19. at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
20. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
21. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
22. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
23. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
24. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
25. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
26. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
27. at java.lang.reflect.Method.invoke(Method.java:597)
28. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
29. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
30. at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
!SESSION 2010-03-29 00:39:45.734 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_13 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.equinox.app 0 0 2010-03-29 00:40:23.281 !MESSAGE Product com.genuitec.myeclipse.product8.ide could not be found. !ENTRY org.eclipse.equinox.p2.repository 4 0 2010-03-29 00:40:24.250 !MESSAGE ProvisioningEventBus could not be obtained. Metadata caches may not be cleaned up properly. !ENTRY org.eclipse.osgi 4 0 2010-03-29 00:40:31.421 !MESSAGE Application error !STACK 1 java.lang.RuntimeException: No application id has been found. at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:236) 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:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl<wbr>.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl<wbr>.invoke(NativeMethodAccessorImpl<wbr>.java:39) at sun.reflect.DelegatingMethodAccessor<wbr>Impl.invoke(DelegatingMethodAccessor<wbr>Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
应用程序错误,是一个RuntimeException,应用程序ID没找到。
看第二行,eclipse.buildId=unknown
再看看其余两个Msg
com.genuitec.myeclipse.product8.ide找不到
ProvisioningEventBus无法获得,元数据缓存可以没有清理好。
估想着就是Myeclipse.product8.ide找不到的问题,找找看吧。
在MyEclipse安装根目录有myeclipse.ini
view plaincopy to clipboardprint?
1. -startup
2. ../8.0GACommonDirectory/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
3. --launcher.library
4. ../8.0GACommonDirectory/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
5. -install
6. D:/MyEclipse/MyEclipse8.0GA
7. -vm
8. D:/MyEclipse/8.0GACommonDirectory/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
9. -configuration
10. configuration
11. -vmargs
12. -Xmx512m
13. -XX:MaxPermSize=256m
14. -XX:ReservedCodeCacheSize=64m
-startup ../8.0GACommonDirectory/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar --launcher.library ../8.0GACommonDirectory/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519 -install D:/MyEclipse/MyEclipse8.0GA -vm D:/MyEclipse/8.0GACommonDirectory/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll -configuration configuration -vmargs -Xmx512m -XX:MaxPermSize=256m -XX:ReservedCodeCacheSize=64m
startup目标包有了
launcher.library的目标文件夹也有了
jvm就不用看了,运行都运行不了怎么来的错误提示(其实启动包和运行lib也一样,不过就是不放心,顺便看一眼)
应该是配置的问题,就在安装目录下configuration文件夹里有个config.ini
view plaincopy to clipboardprint?
1. #Generated by Pulse at Fri Mar 26 15:11:06 CST 2010
2. #Fri Mar 26 15:11:06 CST 2010
3. com.genuitec.pulse.client.handshake.id=******
4. org.eclipse.update.reconcile=false
5. eclipse.p2.profile=com.poweredbypulse.profile-0-rb-578452
6. osgi.instance.area.default=@user.home/Workspaces/MyEclipse 8.0
7. osgi.framework=file\:../8.0GACommonDirectory/plugins/org.eclipse.osgi_3.5.1.R35x_v20090827.jar
8. com.genuitec.pulse.client.credentials=******
9. com.genuitec.pulse.client.blueprint.id=rmb-478634
10. com.genuitec.pulse.common.server.url=https\://www.poweredbypulse.com\:443
11. osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.102.v200911181800.jar@1\:start
12. org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info
13. eclipse.product=com.genuitec.myeclipse.product8.ide
14. osgi.splashPath=platform\:/base/plugins/com.genuitec.myeclipse.product8
15. eclipse.p2.data.area=file\:/C\:/Program Files/Genuitec/Common/configuration/
16. osgi.bundles.defaultStartLevel=4
17. osgi.framework.extensions=
18. com.genuitec.pulse.client.basedir.location.override=C\:\\Program Files\\Genuitec
#Generated by Pulse at Fri Mar 26 15:11:06 CST 2010 #Fri Mar 26 15:11:06 CST 2010 com.genuitec.pulse.client.handshake.id=****** org.eclipse.update.reconcile=false eclipse.p2.profile=com.poweredbypulse.profile-0-rb-578452 osgi.instance.area.default=@user.home/Workspaces/MyEclipse 8.0 osgi.framework=file\:../8.0GACommonDirectory/plugins/org.eclipse.osgi_3.5.1.R35x_v20090827.jar com.genuitec.pulse.client.credentials=****** com.genuitec.pulse.client.blueprint.id=rmb-478634 com.genuitec.pulse.common.server.url=https\://www.poweredbypulse.com\:443 osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.102.v200911181800.jar@1\:start org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info eclipse.product=com.genuitec.myeclipse.product8.ide osgi.splashPath=platform\:/base/plugins/com.genuitec.myeclipse.product8 eclipse.p2.data.area=file\:/C\:/Program Files/Genuitec/Common/configuration/ osgi.bundles.defaultStartLevel=4 osgi.framework.extensions= com.genuitec.pulse.client.basedir.location.override=C\:\\Program Files\\Genuitec
com.genuitec.pulse.client.handshake.id 和 com.genuitec.pulse.client.credentials有关客户信息,这就用******注掉了,是有信息的
很醒目的
eclipse.product=com.genuitec.myeclipse.product8.ide,立刻搜索了一下。
咦?D盘MyEclipse的安装目录下有一个\8.0GACommonDirectory\plugins \com.genuitec.myeclipse.product8_8.0.0.me200911192201
但文件夹名却与配置文件中的eclipse.product的配置信息不对应,其它地方就再也找不到product对应的文件夹或者包了,看来应该有映射文件或者注册信息
再看看config.ini
org.eclipse.equinox.simpleconfigurator.configUrl对应了一个bundles.info
bundles.info???正好了....去找出来看看(这文件太大,就不贴出来了)
用普通文档编辑器就能打开,正好是插件名对应插件包或文件夹的配置文件。
在里面搜索com.genuitec.myeclipse.product8.ide,没找到!
缩小搜索范围吧,找com.genuitec.myeclipse.product8,找到两目标,但是却不是product8,而是 com.genuitec.myeclipse.product85
一想,哦!正好是8.0更新8.5之后启动不起来的,看来自动升级没把config给改过来。
这.....莫非是MyEclipse的Bug?
不管是不是Bug,还得靠MyEclipse做东西的,赶紧修改config.ini,把这俩参数给改了
eclipse.product=com.genuitec.myeclipse.product85.ide
osgi.splashPath=platform\:/base/plugins/com.genuitec.myeclipse.product85
保存配置文件,重新启动.....Bingo!体验8.5去喽!
分享到:
相关推荐
解决MyEclipse10安装VSS插件版本为1.6.2报错:An error has occurred. See error log for more details. (本人64win7 安装:10.7版本 64 位 32位 均可以使用) 原因:版本旧,原来做vss插件的后来就没有更新,现...
myeclipse弹出an internal error occurred during:"initializing"java tooling.有时候myeclipse总是在保存的时候弹出错误,只要保存就弹出.本资源可以解决报错问题
实用开发工具Myeclipse,在启动tomcat时,不间断的会弹出 An internal error occurred during: "Calculating completion proposals...". java.lang.NullPointerException的错误对话框!
Eclipse运行TOMCAT 出现在a java exception has occurred的解决办法。
MyEclipse安装VSS插件会一直报错an error has occurred see error log for more details:org/eclipse/ui/internal/activeeditoraction;一番麻烦后总算解决,看到有不少人也有类似问题,就共享到这里,希望有所帮助
myeclipse配置tomcat7.0时会出现错误,需要改变一点设置才可以配置成功
1.运行keygen目录的crack.bat a.输入Usercode: 任意字母或者数字 b.选择Blue c.点击SystemId(点两次才会生成) d.... e....2. 用patch文件夹下的文件覆盖myeclipse2017安装目录下的 plugins 3. 重启myeclipse2017
完美解决myeclipse10导出war包报完整性检查错误问题 ,作者亲测可用
Tools-----Replace JarFile -----选择你的安装目录/myeclipse/Common/plusgin 目录 Tools---saveProperties 再次点击Active按钮将会生成新的ACTIVATION_KEY。 6、打开MyEclipse, MyEclipse -> Subscription ...
完美解决MyEclipse提示过期Your 30-day trial of MyEclipse has expired.
里面含有myeclipse10.0安装包,破解文件其图解破解方法, 我亲自测试过了, 可以破解成功! 其实error:unable to access jarfile *.jar 可以尝试eclipse导入源码,来运行。
log4e插件,官方下载的,亲自试用。可以运行。只要把文件解压后放到myeclipse安装文件夹的dropins文件夹里面即可
MyEclipse Web 2.0 Workbench Overview Last Revision: January 27, 2006 Outline 1. Preface 2. Requirements 3. Introduction ... These features are built upon an innovative MyEclipse technology
替换完成后,请注意有以下几步,即可轻松解决 “用Myeclipse10.7.1工具生成War时,意外报错:SECURITY: INTEGRITY CHECK ERROR” 的错误: 1.请把你刚刚替换的文件...
高本部log4e不支持myeclipse10,这个版本能用
MyEclipse内存不足问题,有很全的解决办法
spket-plugin-1.6.18破解版 已解决An internal error occurred during: "Loading Context". 错误 解压后将features和plugins拷贝到MyEclipse的 dropins文件夹下。
MyEclipse10.0注册报错:Error: Unable to access jarfile *.jar,可以试试我的方式可以完成注册
myeclipse2016的汉语包和破解码,将压缩包中的文件全部替换到安装目录下
MyEclipse