Deployment failure on Tomcat 6.x. Could not copy all resources

在myeclipse 部署项目的时候报:Deployment failure on Tomcat  6.x. Could not copy all resources to c:\apache-tomcat-6.0\webapps\demo 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 c:\apache-tomcat-6.0\webapps\demo 错误。

解决方法:
1. 是由于引用包有问题,引用了不存在的包导致的。
2. W7系统,tomcat在C盘,必须以管理员身份运行myeclipse才可以部署项目。


shit,我是用第二种方法解决的。哎。

猜你喜欢

转载自yubolg.iteye.com/blog/1806699