An internal error occurred during: & quot; Loading descriptor for pro-test. & quot;., loadingdescriptor

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.