When compiling a java program using Maven’s Tomcat control, the error {failed to execute goal Is reported org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project **-web: Failed to clean project: Failed to delete E:\**\target\tomcat\logs\access_log
Such errors
This error usually occurs because you have started another Tomcat process or run javaw Exe process, resulting in an error.
Solution:
1. Click x to close the failed console page (if it is run multiple times, the program console will only be placed here)
After closing, you should see the small red square. Click to make the Tomcat process or run javaw Exe process stopped.
Just recompile.
——————————–
If the above is not enough, go to the task manager} process to find the process (the last column is the name), end this, and then run the project.
Similar Posts:
- Tomcat failed to start: Server Tomcat v8.5 Server at localhost failed to start
- Several common error reporting and startup problems of Tomcat
- Error:java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
- idea Failed to clean project Failed to delete target
- How to Solve The Process Still Exsit after Tomcat Shutdown
- [Solved] Multiple Contexts have a path of ”/xxx”
- Several ports (8005, 8080, 8009) required by Tomcat Server at localhost are already in use.
- Error message encountered in new Vue project
- How to Solve Xcode Error: could not attach to pid “xx”
- How to Close the iframe Window opened by layui