eclipse在使用maven的tomcat控件编译java程序时,报错 Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project e3-manager-pojo: Failed to clean project: Failed to delete D:\workspaces-itcast\JavaEE32_3\e3-manager\e3-manager-pojo\target\e3-manager-pojo.jar
this kind of error
This kind of error usually occurs because you have started another tomcat process or a running javaw.exe process, which results in an error.
Solution:
1. Click X to close the console page that failed to run, (if it runs multiple times, the console of the program will only be placed here)
When closed, you should see a small red square. Click to stop the tomcat process or the running javaw.exe (java.exe) process.
Then recompile.