Eclipse只能成功启动一次,快疯了!

showjancn 2013-11-07 06:53:59
1、下载最新的Eclipse eclipse-jee-kepler-SR1-win32.zip,解压。
2、能成功启动,并设置工作目录。
3、关闭eclipse,再启动,报错。 (如果删除重新启动又可以,再启动报错。求解!!)

错误日志如下:

!SESSION 2013-11-07 18:38:59.881 -----------------------------------------------
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_01
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.osgi 4 0 2013-11-07 18:39:02.443
!MESSAGE An error occurred while automatically activating bundle org.eclipse.equinox.registry (332).
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.registry.osgi.Activator.start() of bundle org.eclipse.equinox.registry.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
at ..............

Caused by: java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(Unknown Source)
at ...................
Root exception:
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
a......

Caused by: java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at org.eclipse.osgi.storagemanager.StorageManager.updateTable(StorageManager.java:512)
at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:709)
at org.eclipse.core.internal.registry.ExtensionRegistry.setFileManager(ExtensionRegistry.java:109)
at org.eclipse.core.internal.registry.ExtensionRegistry.checkCache(ExtensionRegistry.java:888)
at org.eclipse.core.internal.registry.ExtensionRegistry.<init>(ExtensionRegistry.java:673)
at org.eclipse.core.runtime.RegistryFactory.createRegistry(RegistryFactory.java:58)
at org.eclipse.core.internal.registry.osgi.Activator.startRegistry(Activator.java:137)
at org.eclipse.core.internal.registry.osgi.Activator.start(Activator.java:56)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
... 68 more

!ENTRY org.eclipse.osgi 4 0 2013-11-07 18:39:02.652
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
...全文
1378 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
___________小P 2013-11-08
  • 打赏
  • 举报
回复
换myeclipse
小菜_ 2013-11-08
  • 打赏
  • 举报
回复
下个myeclips吧
njabctc 2013-11-08
  • 打赏
  • 举报
回复
说句实话,初学者还是myeclips比较好上手。
末日哥 2013-11-08
  • 打赏
  • 举报
回复
在哪下载的?重新下载个看看。
齐岳 2013-11-07
  • 打赏
  • 举报
回复
对这种状况最不纠结的做法是 换别的试试
teemai 2013-11-07
  • 打赏
  • 举报
回复
不可能吧。你删干净,完了换一个目录解压下来再打开试试
showjancn 2013-11-07
  • 打赏
  • 举报
回复
-----网上解决方案-------------------- 删除configuration 下 org.eclipse.core.runtime org.eclipse.osgi 重启eclipse ./eclipse -clean& ---------------------------------------------- 我安上述方法可以把不能启动的eclipse启动,但启动后会自动添加已删除的文件夹,然后又启动不了了。
showjancn 2013-11-07
  • 打赏
  • 举报
回复
异常日志很多,省去了大部。

58,452

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧