chrips
chrips

Reputation: 5276

How to stop Maven Clean failing due to an undeletable file?

I attempt: mvn clean

and receive an error about this file that couldn't be cleaned up.

Error received:

Failed to delete C:\Users\user\Desktop\thymeleafexamples-stsm-3.0-master\target\tomcat\logs\access_log.2019-06-17

Upvotes: 0

Views: 109

Answers (1)

J Fabian Meier
J Fabian Meier

Reputation: 35785

I guess your Tomcat is still running (in the background) and stops you from deleting the file.

Upvotes: 1

Related Questions