在項目中更換oracle驅動的時 報Undeployment Failure

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章