2015-06-16 48 views
-3

我的Java eclipse(Kepler)不加载。当我尝试启动时,我收到以下消息:Java eclispe无法加载 - “发生错误,请参阅日志文件”

“发生错误。请参阅日志文件。 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 
[email protected]/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\:or[email protected]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 
[email protected]/../p2 
osgi.bundles.defaultStartLevel=4 

非常感谢您!

+3

现有生产线的是什么日志文件说行? – TZHX

+0

日志文件中必须有一些有用的东西,您可以在这里复制/粘贴。否则我们什么也没有做.. – Kuurde

+0

!ENTRY org.eclipse.osgi 4 2015-06-16 11:04:46 46550 !MESSAGE自动激活bundle org.eclipse.equinox.registry(141)时发生错误。 !堆栈0 org.osgi.framework.BundleException:bundle org.eclipse.equinox.registry的org.eclipse.core.internal.registry.osgi.Activator.start()中的异常。 \t在org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734) \t在org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683) 等等...... –

回答

0

你可以试试下面添加您的eclipse.ini忽略某些在你的eclipse.ini

-startup 
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar 
--launcher.library 
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140116-2212 
-product 
org.eclipse.epp.package.jee.product 
--launcher.defaultAction 
openFile 
--launcher.XXMaxPermSize 
512M 
-showsplash 
org.eclipse.platform 
--launcher.XXMaxPermSize 
256m 
--launcher.defaultAction 
openFile 
--launcher.appendVmargs 
-vmargs 
-Dosgi.requiredJavaVersion=1.6 
-Xms128m 
-Xmx1024m 
+0

现在我收到以下消息:Eclipse可执行文件启动程序无法找到其伴随共享库。 –

+0

您是否检查了现有的eclipse.ini文件是否已包含启动程序配置? – ManojP

+0

是的,对不起我的坏。我没有正确复制你的新行。但是,当我做了,仍然是相同的答案 - “一个错误发生,看到日志文件” –

相关问题