Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

An internal error occurred during: "Updating Maven Project". Preference node "org.eclipse.wst.validation" has been removed

I'm trying to open my Maven project with Eclipse Juno, but I'm getting this error:

An internal error occurred during: "Updating Maven Project".
Preference node "org.eclipse.wst.validation" has been removed.

How is this caused and how can I solve it?

like image 996
404NotFound Avatar asked Jan 28 '14 19:01

404NotFound


5 Answers

Same probleme here, there the solution I fix it

  • Open the .project file with your prefered text editor.

  • delete the node that is about "org.eclipse.wst.validation"

  • Close your project

  • Open your project

  • Launch Maven Update...

Should be good.

Another way to fix it, if you don't want to change your .project config (or if you had several projects that must be fixed)

  • Close your workspace (or eclipse)

-move out <WorkspaceDir>\.metadata\.plugins\org.eclipse.core.resources\.projects from the workspace directory

-reopen you workspace

  • close it again

-move back the .projects dir (say yes to replace questions ? )

  • open you workspace

  • Launch Maven Update

Should be good

like image 65
VinyJones Avatar answered Nov 10 '22 22:11

VinyJones


Simpler fix:

  • Close Project
  • Open Project
  • Project > Clean
  • Run Maven Update
like image 43
mel3kings Avatar answered Nov 10 '22 23:11

mel3kings


I was using Eclipse Mars and in my case, just close and reopen my IDE did the work.

like image 12
João Rodrigues Avatar answered Nov 11 '22 00:11

João Rodrigues


Dont know, if you still have this problem, but here is the solution worked for me:

It appears that deleting the file org.eclipse.wst.validation.prefs in the directory .metadata/.plugins/org.eclipse.core.runtime/.settings (default settings for workspace) or .settings in each individual project will cause the settings for validation to be reset to their original settings. You can then use validation without getting error messages and try resetting the options from there. However, I'm not sure what combination of settings would cause the problem to reappear. However, if it does, you can repeat the process.

got this from here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=355012

in my case i didnt have the mentioned file in this folder, but i had a bunch of other org.eclipse.wst.* files. deleting them all did the trick for me.

like image 3
desperateCoder Avatar answered Nov 11 '22 00:11

desperateCoder


The problem is not related to the .projects folder as mentioned in another answer. The solution is to add a file called org.eclipse.wst.validation.prefs in the .settings folder. This will restore the eclipse validation node.

The content of the file, depending on your eclipse version, might look like this:

disabled=06target
eclipse.preferences.version=1
like image 1
CCC Avatar answered Nov 10 '22 22:11

CCC