`

Deployment failure on Tomcat 6.x.

阅读更多

在用MyEclipse6.5做项目时发现这样的问题:

Deployment failure on Tomcat 6.x. Could not copy all resources to E:\tomcat6\tomcat6\webapps\xxx. 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 E:\tomcat6\tomcat6\webapps\xxx

后来经过查找问题发现:我在web-inf/lib目录中替换了一个jar包,而这个jar包并没有在lib库中注册,所以才出现以上的问题!

解决方法:在工程的属性中加入这个包就可以了。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics