错误消息:
1、Deployment failure on Tomcat
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、重新发布