`

项目部署不到tomcat中的原因和解决方法

阅读更多
一、问题
部署项目到tomcat中出现一个“黄叹号!”。报错如下:
     (1) 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.
     (2)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中的工程比较一下,看缺少什么,还有一种错误是jar包的问题,你在工程中点击右健选择properties-->java build path看一下你的jar包,是不是有些前面出现了“黄叹号!”或者“红叉号!”,把这些jar包删除然后重新加载进来(当然用不着的就不用了,情况不同,解决的方法不同)。
三、总结
  出现这个问题的原因是缺少文件或jar包。不要着急,一点一点去解决!希望对你有所帮助!
--原文出处http://blog.csdn.net/gangqinjiawang/article/details/4642267
--转载请注明出处。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics