Transferred from: http://www.2cto.com/kf/201201/116853.html
Today in the online deployment of the project at the time of the problem Tomcat has been deployed not on the Internet to check the reasons for a note for everyone to see
[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
Excerpted from that month that year
To