在項目中更換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,把帶紅叉的包刪掉。。再重新部署就不報錯了