简体   繁体   English

启动时出现 Eclipse Logback 错误

[英]Eclipse Logback Error on Launch

I have installed Eclipse Neon 4.6.2 and it launches with below error我已经安装了 Eclipse Neon 4.6.2,它启动时出现以下错误

org.eclipse.m2e.logback.configuration:
The  org.eclipse.m2e.logback.configuration bundle was activated before the
state location was initialized. Will retry after the state location is initialized.

And the Eclipse screen disappears. Eclipse 屏幕消失。

I had the same problem.我有同样的问题。 Later I found the root cause for it in my case.后来我在我的案例中找到了它的根本原因。 If you have two java version running in your system (eg jre1.7 and jre1.8), and one of them gets updated (eg jre 8) and overwrite the other one (which uses the jdk) then this issue might occur.如果您的系统中有两个 java 版本(例如 jre1.7 和 jre1.8),并且其中一个被更新(例如 jre 8)并覆盖另一个(使用 jdk),那么可能会出现此问题。

Better remove one of the java and try to open the eclipse, it might work.最好删除其中一个java并尝试打开eclipse,它可能会起作用。

I deleted .metadata (folder) from my eclipse workspace then the problem got resolved.我从我的 eclipse 工作区中删除了.metadata (文件夹),然后问题得到了解决。

Note that the .metadata folder will be hidden in workspace.请注意, .metadata文件夹将隐藏在工作区中。 So just go to your eclipse workspace and execute the command:因此,只需转到您的 eclipse 工作区并执行命令:

rm -rf .metadata

Also note you want to export your existing projects from the workspace once eclipse started另请注意,您希望在 Eclipse 启动后从工作区导出现有项目

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM