Maven学习总结(26)——maven update时,报:Preference node "org.eclipse.wst.validation"......

详细情况如下:

An internal error occurred during: "Updating Maven Project".

Preference node "org.eclipse.wst.validation" has been removed.

解决方案:

重启下eclipse,我的就是这样解决的!

"org.eclipse.wst.validation" has been removed

导出maven工程遇到的问题,"org.eclipse.wst.validation" has been removed,还以为是工程本身的问题,后来发现是eclipse的问题。

 

解决办法:

 把D:\kaola\kaolaWorkSpace\.metadata\.plugins\org.eclipse.core.runtime\.settings 下的org.eclipse.wst.validation.prefs 删除就可以了 
 
参考资料:
http://stackoverflow.com/questions/21414565/updating-maven-project-has-encountred
 
参考以下解决办法,未能解决:

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

 

参考以下答复,解决问题:

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.


转载于:https://www.cnblogs.com/zhanghaiyang/p/7212822.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值