您的位置:首页 > 其它

An internal error occurred during: "Loading descriptor for pro-test.".

2015-05-13 10:39 483 查看
在执行Maven Update的时候,提示以下错误:

An error has occurred. See error log for more details.

详细错误:

An error has occurred. See error log for more details.

java.lang.NullPointerException

重新启动Eclipse之后提示以下两个错误:

An internal error occurred during: “Loading descriptor for pro-test.”.

org.xml.sax.SAXParseExceptionpublicId: platform:/resource/pro-test/src/main/webapp/WEB-INF/web.xml;

systemId: platform:/resource/pro-test/src/main/webapp/WEB-INF/web.xml;

lineNumber: 1; columnNumber: 39; 文件提前结束。





很奇怪,web.xml中只有一行,为什么会报错!

<?xml version="1.0" encoding="UTF-8"?>


解决方案

删除web.xml文件,错误消失。

再重新创建web.xml文件,还是相同的内容,再执行 Maven Update也没有重现此错误!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐