Cocould not copy all resources to Tomcat when eclipse releases an application

Source: Internet
Author: User

When using eclipse for development and publishing an application, the application cannot be released successfully.

Deployment failure on Tomcat 6. x. cocould not copy all resources to D :/... /webapps/eptinfo. if a file is locked, you can wait until the lock times out to redeploy, or stop the server and redeploy, or manually remove the deployment at D :/.... /webapps/eptinfo.

However, my tomcat service is not started. after searching online, I found that it was a problem with everyone. I introduced a package in the original project, and then I deleted the package, but because the project has been released, therefore, this package name exists in classpath. In this way, the package will be searched but does not exist at the time of release. Therefore, no copy is available,

Solution: In the Eclipse project, click "properties"> "Java build path" and select "properties"> "XX. Jar" does not exist. In this way, delete the jar information from libraries.

Application re-released. Successful!

Related Article

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.