原:http://blog.sina.com.cn/s/blog_6d34781a01016fkj.html
今天在做项目的时候,发现项目名处出现一个红叉,但项目里面却并没有出现什么错误有红叉叉的地方啊?然后在tomcat的Server Deployments里同样项目名出现警告符号 ,并提示 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,不能redeploy。
原因:我之前删除了两个jar包,但当时项目已经发布,所以在classpath里还有这个包的引用,却找不到这个包,于是就报错了!
解决:右键项目->Properties->Java Build Path,选择Libraries,上面提示,两个包missing,找到这两个包,remove,就ok啦!