User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

Have you experienced a sudden power loss or some other situation which has closed the Eclipse IDE unexpectedly? Most likely you've then got this error message:

java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jface.preference.PrefecenceConverter

the next time you tried to launch Eclipse.

Have you experienced a sudden power loss or some other situation which has closed the Eclipse IDE unexpectedly? Most likely you've then got this error message:

java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jface.preference.PrefecenceConverter

the next time you tried to launch Eclipse.

 

This error message will show up every time you attempt to restart Eclipse, regardless of using the "-clean" and "-data" arguments.

In order to overcome this situation all you need to do is remove the following file:

 

.metadata/.plugins/org.eclipse.core.resources/.snap

 

and then restart Eclipse.

 

Keep enjoying your coding! :)