1. 程式人生 > >Deployment failure on Tomcat 6.x. Could not copy all resources to C:\Program Files (x86)\Apache Sof

Deployment failure on Tomcat 6.x. Could not copy all resources to C:\Program Files (x86)\Apache Sof

用MyEclipse工具建立新專案"TestQ",接著右擊專案,MyEclipse-->Add Hibernate Capabilities...(使用SQL Server資料庫),然後將.jar包加入lib資料夾裡-->寫了些程式碼-->Add Tomcat6.0x,沒想到就這樣了:

Deployment failure on Tomcat  6.x. Could not copy all resources to C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\webapps\ExamTestQ. If a file is locked, you can wait until the lock times out to redeploy, or stop the server and redeploy, or .......

我表示很無奈,因為我百度了這麼久,還是沒有找出解決方法,不過可能對你們有用,你們看看吧!

https://blog.csdn.net/hepeng_2016/article/details/70239144

https://blog.csdn.net/gongweijiao/article/details/5569587

https://blog.csdn.net/zhang6622056/article/details/7534147

https://blog.csdn.net/moyanxuan_1993_2_24/article/details/38369375

最後還是重新建專案,先將Tomact6釋出,再Hibernate等等操作,就沒有報錯