`
wyz191
  • 浏览: 93481 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论

Tomcat部署时报错Deployment failure on Tomcat 6.x. Could not copy all resources to

阅读更多

Tomcat部署时报错Could not copy all resources to...

转自:http://jiake0504.iteye.com/blog/253604

在使用eclipse开发,发布应用的时候突然无法成功发布,提示  
 
Deployment failure on Tomcat  6.x. Could 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.  
 
但是我的tomcat服务并没有启动.上网搜索之后发现和大家范的是一个毛病,原来工程中我引了一个包,后来这个包被我给删除了,但是因为已经发布过这个工程了,所以classpath中就有这个包名了,这样发布的时候也会去找这个包但是已经不存在了,所以无copy,  
 
解决办法:在eclipse的工程中点击右健选择properties-->java build path中已经提示了xx.jar不存在,这样就把这个jar信息从Libraries中删除即可.  
 
重新发布应用,成功!
<script type="text/javascript"><!-- google_ad_client="pub-1076724771190722" ; /* JE个人博客468x60 */ google_ad_slot="5506163105" ; google_ad_width="468; google_ad_height" = 60; //--> </script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"> </script><script src="http://pagead2.googlesyndication.com/pagead/js/r20110420/r20110415/show_ads_impl.js"></script><script src="http://googleads.g.doubleclick.net/pagead/test_domain.js"></script><script src="http://pagead2.googlesyndication.com/pagead/render_ads.js"></script><script>google_protectAndRun("render_ads.js::google_render_ad", google_handleError, google_render_ad);</script>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics