Eclipse 一直提示 An internal error occurred during: Loading descriptor for 的解决方法
近做项目,打开启动eclipse 或者保存properties文件总会弹出一个
或者这样:
这样的界面。
打开detail显示:
An internal error occurred during: "Loading descriptor for PC2.0.".
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'init-param' not found. (platform:/resource/PC2.0/src/main/webapp/WEB-INF/web.xml, 97, 15)
开始以为是web.xml版本和配置的问题,在网上找了半天解决方法也没有找到解决方法。
最后看到一篇帖子抱着试一试的方法修改成功了。点击eclipse上的倒三角:view menu,然后选择customize View.选择content栏,把java EE Navigation Content WEB这一行的勾选 取消然后保存重启eclipse就可以了。如果弹出别的框也可以尝试取消别的勾选。