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?
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)
-move out <WorkspaceDir>\.metadata\.plugins\org.eclipse.core.resources\.projects
from the workspace directory
-reopen you workspace
-move back the .projects dir (say yes to replace questions ? )
open you workspace
Launch Maven Update
Should be good
Simpler fix:
I was using Eclipse Mars and in my case, just close and reopen my IDE did the work.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With