随笔-95  评论-31  文章-10  trackbacks-0

错误消息:

1、Deployment failure on Tomcat  6.x. Could not copy all resources to d:\apache-tomcat-6.0.16\webapps\smip. 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:\apache-tomcat-6.0.16\webapps\smip

2、Undeployment Failure could not be redeployed because it could not be completely removed in the undeployment phase. the most common cuase of this problem is attempting to redeploy while the server is running,which has locked one or more files.to correct the deployment you will need to stop the server and then redeploy the project before restarting the server.

问题出现的原因:项目的.classpath文件中有对不存在的.jar文件的引用

解决方法:1、删除所有对jar文件的引用,重新添加引用。

     2、对照.classpath文件中的classpathentry属性引用的.jar文件和项目lib文件夹中的.jar文件,删除存在于.classpath文件中却不存在于lib文件夹中的节点。

     3、重新发布

posted on 2011-02-16 16:25 朔望魔刃 阅读(3302) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: