简体   繁体   中英

The project was not built due to “Could not delete '/maventestproject/target/test-classes/com'.”

I am facing the below issue frequently in my project in eclipse which disturbing developing the test scripts.Please help me in resolving this.

The project was not built due to "Could not delete '/maventestproject/target/test-classes/com'.". Fix the problem, then try refreshing this project and building it since it may be inconsistent maventestproject Unknown Java Problem

  1. Right click on your project and click Run As > MVN clean.
  2. Make sure that target is empty if not manually delete the target folder. Hope this issue will be fixed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM