在项目中更换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,把带红叉的包删掉。。再重新部署就不报错了
本文介绍了解决在更换Oracle驱动后,项目部署时遇到的UndeploymentFailure问题的方法。通常,这发生在尝试重新部署时服务器正在运行并锁定了一些文件。解决步骤包括删除项目构建路径中的无效库。
2164

被折叠的 条评论
为什么被折叠?



