XXX could not be redeployed because it could not be completely removed

来源:互联网 发布:mac上好玩的单机游戏 编辑:程序博客网 时间:2024/05/17 18:11

从SVN上导入一个项目,发布项目的时候myeclipse弹出一个错误:
XXX 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.

解决方法:
可以右键点项目名称,选择Properties,选择Java Build Path,选择Libraries,把所有项目中的jar都remove,然后再点”add jars”,把项目WEB-INF下lib中的jar文件都加进来,重新加一遍项目中的jar包就好了。

0 0
原创粉丝点击