user1805
user1805

Reputation: 187

Maven error :"Updating Maven Project"

I have installed Eclipse 32 bits EE with Maven and Spring but when I create new project with Maven, I keep getting the following error message :

An internal error occurred during: "Updating Maven Project".
loader constraint violation: loader 
(instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) 
previously initiated loading for a different type with name 
"org/apache/maven/project/MavenProject"

Thank you for your help

Upvotes: 6

Views: 7029

Answers (3)

eis
eis

Reputation: 53482

It seems to be a known problem in some version combinations of Spring-Eclipse integration.

Upgrade or downgrade.

Upvotes: 4

Anil Agrawal
Anil Agrawal

Reputation: 3026

Close the eclipse and try to run eclipse with clean flag

eclipse -clean

And now try to create or update any maven project.

Upvotes: 0

Evan Siroky
Evan Siroky

Reputation: 9418

I had the exact same error. I had installed m2e using "Install New Software" in Eclipse Java EE Kepler. I eventually found out that Eclipse Java EE Kepler already had a whole bunch of stuff installed already including m2e. I deleted Eclipse and then re-extracted it and then it worked fine.

Upvotes: 0

Related Questions