XXX could not be redeployed because it could not be completely removed in the undeployment phase. th

使用MyEclipse都会从新部署项目,点击Redeploy弹出一个错误:

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.

原因:1、缺少jar包。(以前的jar文件不存在了,但是项目信息中还有,即项目的.classpath文件中还有不存在的jar文件引用。)

     2、jar包重复。(引入了2次不同位置的相同的jar包)

解决方案:1、右键点项目名称-->Build Path-->Configure Build Path,把项目中缺少的jar包添加上,点"Add External Jars"

      2、右键点项目名称-->Build Path-->Configure Build Path,把项目中重复的jar包Remove掉

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值