The Tomcat project cannot publish the exception, Could not copy all resources to .... Go

Source: Internet
Author: User

[Plain] <span style= "FONT-SIZE:18PX;" >deployment failure on Tomcat 6.x. Could not copy all resources to D:\Program Files\apache-tomcat-6.0.16\webapps\funan _conv. If a file is locked, you can wait until the lock times out to redeploy, or stop the server and redeploy, or manually Remov E The deployment at D:\Program Files\apache-tomcat-6.0.16\webapps\funan_conv
</span>
<span style= "FONT-SIZE:18PX;" >deployment failure on Tomcat 6.x. Could not copy all resources to D:\Program Files\apache-tomcat-6.0.16\webapps\funan _conv. If a file is locked, you can wait until the lock times out to redeploy, or stop the server and redeploy, or manually Remov E The deployment at D:\Program Files\apache-tomcat-6.0.16\webapps\funan_conv
</span>
Solution One:

Reference
[Plain] <span style= "FONT-SIZE:18PX;" The >tomcat service did not start. After searching the internet to find and everyone fan is a fault, the original project I led a package, later this package was I to delete, but because has been released this project, so Classpath has this package name, This will also be the time to find the package, but no longer exist, so no copy,

Workaround: In the Eclipse Project, right-click Select Properties-->java Build path has been prompted that Xx.jar does not exist, so that the jar information removed from the libraries.

Republish app, Success!
</span>
<span style= "FONT-SIZE:18PX;" The >tomcat service did not start. After searching the internet to find and everyone fan is a fault, the original project I led a package, later this package was I to delete, but because has been released this project, so Classpath has this package name, This will also be the time to find the package, but no longer exist, so no copy,

Workaround: In the Eclipse Project, right-click Select Properties-->java Build path has been prompted that Xx.jar does not exist, so that the jar information removed from the libraries.

Republish app, Success!
</span>

Programme II

Reference
[Plain] <span style= "FONT-SIZE:18PX;" > in the project's. Classpath below/lib/... Are the packages we use in our release project. Do not know when who casually add a few bags. The file is generated under. classpath. So when you publish a project, you never publish it. One by one controls the packages in Classpath and Web/inf lib. Control carefully.
</span>
<span style= "FONT-SIZE:18PX;" > in the project's. Classpath below/lib/... Are the packages we use in our release project. Do not know when who casually add a few bags. The file is generated under. classpath. So when you publish a project, you never publish it. One by one controls the packages in Classpath and Web/inf lib. Control carefully.
</span>
Programme III

In a word, you can see that there is a problem with MyEclipse's working directory,
Then let's do the trick: replace workspace!
Re-release, OK

The Tomcat project cannot publish the exception, Could not copy all resources to .... Go

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.