錯誤消息:
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
朔望魔刃 閱讀(3312)
評論(0) 編輯 收藏