Error logging--resource xxxx does not exist problem resolution

Source: Internet
Author: User

Using WTP to develop Web programs, you need to remove a jar library under Web-inf/lib, which is not erased in Eclipse's Project Explorer because it's in BuildPath. So you turn eclipse off and then you find it through the Explorer

That project's folder, delete the file. To reopen Eclipse and run the Web program (run on server), a publishing failed error appears, with the details: Resource/xxxx does not exist, whose

The/xxxx is the project folder. How could it be that the folder was well placed there, and actually said does not exist.
Cause: Because of the deletion of a jar outside, Eclipse does not know yet, when the Web application was published to think that the jar is still there, so it was released, but the file does not exist, so the error. It's just that this is a wrong newspaper.

If a file is missing, the whole project does not exist, misleading.
WORKAROUND: Delete the jar without deleting it directly in Eclipse, and not on the outside. To remove the entire Web library from the BuildPath, all the jars in Lib are not in the BuildPath, and then in Eclipse's

Project Explorer (Navigator view) to remove the jar and then add the Web Library.

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.