在项目中更换oracle驱动的时 报Undeployment Failure

来源:互联网 发布:约拿情结 知乎 编辑:程序博客网 时间:2024/06/07 14:47

在项目中更换oracle驱动的时候,运行的时候报下面的错误:

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


解决办法:

可以右键点项目名称,选择Properties,选择Java Build Path,选择Libraries,把带红叉的包删掉。。再重新部署就不报错了

1 0