Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Logback Error on Launch

Tags:

java

eclipse

I have installed Eclipse Neon 4.6.2 and it launches with below error

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.

like image 482
Ashok Avatar asked Sep 19 '25 17:09

Ashok


2 Answers

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 (e.g jre 8) and overwrite the other one (which uses the jdk) then this issue might occur.

Better remove one of the java and try to open the eclipse, it might work.

like image 134
Vikram Sharma Avatar answered Sep 21 '25 05:09

Vikram Sharma


I deleted .metadata (folder) from my eclipse workspace then the problem got resolved.

Note that the .metadata folder will be hidden in workspace. So just go to your eclipse workspace and execute the command:

rm -rf .metadata

Also note you want to export your existing projects from the workspace once eclipse started

like image 30
Belal R Avatar answered Sep 21 '25 06:09

Belal R