Maven項目報錯:Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clea


[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project study-search: Failed to clean project: Failed to delete D:\Pxxtarget\tomcat\logs\access_log.2017-3-24

[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

 

本來是執行clean tomcat7:run命令的,結果執行clean的時候就報錯了,不能清除log,那就是log被某個程序占用了,所以不能清除,XX,剛剛啟動的程序沒有關閉,terminate.再次啟動,OK了!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM