【发布时间】:2015-08-31 22:29:19
【问题描述】:
我的 Java eclipse (Kepler) 无法加载。当我尝试启动时,我收到以下消息:
“发生错误。请参阅日志文件。 C:\Program Files\eclipse\configuration\1434441085545.log。”
我尝试了一切:删除 eclipse 库,从工作区删除 .medata 库,更改工作区,从命令行清除。没有什么对我有用。无法在此处添加日志文件,因为行数太多...
!ENTRY org.eclipse.osgi 4 0 2015-06-16 11:18:00.746
!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)
config.ini:
org.eclipse.update.reconcile=false
eclipse.p2.profile=epp.package.standard
osgi.instance.area.default=@user.home/workspace
osgi.framework=file\:plugins/org.eclipse.osgi_3.9.1.v20130814-1242.jar
equinox.use.ds=true
eclipse.buildId=4.3.0.M20130911-1000
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.400.v20130327-2119.jar@1\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info
eclipse.product=org.eclipse.platform.ide
osgi.splashPath=platform\:/base/plugins/org.eclipse.platform
osgi.framework.extensions=
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.p2.data.area=@config.dir/../p2
osgi.bundles.defaultStartLevel=4
非常感谢!
【问题讨论】:
-
日志文件说什么?
-
日志文件中一定有一些有用的东西可以复制/粘贴到这里。否则我们无事可做..
-
!ENTRY org.eclipse.osgi 4 0 2015-06-16 11:04:46.050 !MESSAGE 自动激活捆绑包 org.eclipse.equinox.registry (141) 时出错。 !STACK 0 org.osgi.framework.BundleException:包 org.eclipse.equinox.registry 的 org.eclipse.core.internal.registry.osgi.Activator.start() 中的异常。在 org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734) 在 org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683) 等等。 ..
-
我评论时字符有限
-
@AlonBenNatan 查看日志末尾附近或查找异常。而且我很确定您还没有尝试所有方法;-) 请重新格式化您的答案,将错误消息标记为代码并删除拼写错误。当一切看起来“整洁”时,人们会更乐意为您提供帮助
标签: java eclipse configuration