Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not initialize class org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants

I am Running Eclipse Kelper Build id: 20130614-0229 (the latest at time of writing)

I have installed the Web Tools Platform (WTP) and I am using a 'static web project'.

I keep getting an error alert box popping up with the error

Could not initialize class org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants

Okay I have searched high and low for a solution, but of course the solution seems to be different for every version of eclipse. I went to a bug post on this at https://bugs.eclipse.org/bugs/show_bug.cgi?id=389968

but the advice was just to "get the right version of EPP for your workspace"

Okay so that advice is no help at all. How does one know what is the right version of their workspace? what do they mean by that anyway? by "for your workspace" are they referring to your version of Eclipse? or is that a separate issue?

I saw another response to this issue on stack overflow for Eclipse Juno, but it was simply a link to a temporary patch update site which no longer exists. Someone else on that thread claimed that Kelper had a fix for all of this. Clearly that is not the case and the people at Eclipse.org do not think this is a bug.

like image 929
Tezza Avatar asked Jul 29 '13 21:07

Tezza


1 Answers

From update site, install below item:
|> Web, XML, Java EE and OSGi Enterprise Development
* Eclipse Java EE Developer Tools

like image 162
user168 Avatar answered Oct 25 '22 08:10

user168