Update Spring Boots!
I had the same problem when my Spring toolbox threw this error [Windows 7] whenever I make changes to JSP or resources (css, js, images). This will allow you to save at least once the reflection of the changes, but the second time STS will throw an error so that it cannot delete the file that I changed [basically it was not possible to move the file to the bin folder]. I have to stop the application, make the project → clean for error, go in, make changes and start the application. The process guide said javaw has a handle to the bin .
I tried all the suggestions that are listed as answers. - Restored the workspace, checked links to projects, updated the Spring toolkit, disabled window search, indexing, etc. But no one worked.
Finally, I upgraded my Spring boot from 1.4.0 to 1.5.4, and the error went away. Therefore, if any of you are using Spring Boots that are experiencing this problem, check your version and update it. You may also need to add spring-boot-devtools to enable hot spring-boot-devtools with the latest Spring versions to boot.
Arun Christopher Jun 28 '17 at 13:57 on 2017-06-28 13:57
source share