Deployment is out of date due to changes in the underlying project contents.

往Tomcat部署java项目的错误提示:

Deployment is out of date due to changes in the underlying project contents.You'll need to manually 'Redeploy' the project to update the deployed archive.

我先网上搜索了下,可是网上给的答案对我没用。

我先转载下别人的解决办法。

answer1:

原因1:导入的jar包路径不对,造成第一个错误,
原因2:设置右键工程->属性->myeclipse->web->deployment选use workbenk defaul setting 路径设置正确然后关eclipse,然后开eclipse就可以了

 

answer2:

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中删除即可.

转自:http://blog.sina.com.cn/s/blog_5e979e1101012111.html

 

我自己的解决方法:

卸载重装Tomcat。就解决了。

哈哈哈,就是这么简单粗暴。

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值