An internal error occurred during: "Loading descriptor for pro-test." .., loadingdescriptor
When executing Maven Update, the following error is prompted:
An error has occurred. See error log for more details.
Detailed error:
An error has occurred. See error log for more details.
Java. lang. NullPointerException
The following two errors are prompted after you restart 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/webapps/WEB-INF/web. xml;
LineNumber: 1; columnNumber: 39; the file is terminated ahead of schedule.
It is strange that there is only one line in web. xml. Why is an error reported!
<? Xml version = "1.0" encoding = "UTF-8"?>
Solution
Delete the web. xml file and the error disappears.
Re-create the web. xml file, or the same content. Executing Maven Update does not reproduce this error!