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

简介: 在执行Maven Update的时候,提示以下错误: An error has occurred. See error log for more details. 详细错误: An error has occurred.

在执行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也没有重现此错误!

目录
相关文章
|
23天前
|
编解码 数据处理
|
8天前
|
缓存 IDE Linux
Internal error. Please report to https://jb.gg/ide/critical-startup-errors
Internal error. Please report to https://jb.gg/ide/critical-startup-errors
6 0
|
9月前
error C2449: found ‘{‘ at file scope (missing function header?)和error C2059: syntax error : ‘}‘
error C2449: found ‘{‘ at file scope (missing function header?)和error C2059: syntax error : ‘}‘
72 0
|
4月前
|
JavaScript
Uncaught runtime errors: × ERROR Avoided redundant navigation to current location: “/xxx“.
Uncaught runtime errors: × ERROR Avoided redundant navigation to current location: “/xxx“.
60 0
Dx unsupported class file version 52.0 Conversion to Dalvik format failed with error 1
Dx unsupported class file version 52.0 Conversion to Dalvik format failed with error 1
117 0
|
网络协议 关系型数据库 Linux
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
145 0
|
Go iOS开发
The operation couldn’t be completed. Unable to log in with account 'myappleid'. An unexpected failure occurred while logging in (Underlying error code 1100).解决方法
The operation couldn’t be completed. Unable to log in with account 'myappleid'. An unexpected failure occurred while logging in (Underlying error code 1100).解决方法
351 0
Whitelabel Error Page There was an unexpected error (type=Not Found, status=404). No message availab
Whitelabel Error Page There was an unexpected error (type=Not Found, status=404). No message availab
148 0
How to resolve Unable to load groups error message
When you open Fiori launchpad, you can only see empty screen with the following error message:
How to resolve Unable to load groups error message
How to resolve warning message Access restriction -The type Resource is not accessible
How to resolve warning message Access restriction -The type Resource is not accessible
116 0
How to resolve warning message Access restriction -The type Resource is not accessible