[Solved] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean)

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: