Tomcat project cleaning error

后端 未结 3 1821
南方客
南方客 2021-02-13 19:03

When I try to clean the project from tomcat. I\'m getting this error:

Could not delete . May be locked by another process.

相关标签:
3条回答
  • 2021-02-13 20:03

    First of all, try to just restart tomcat.

    Then, try to clean everything:

    • Clean the Tomcat server: in Eclipse, right click on Tomcat vX.Y Server > Clean.
    • Clean the project: menu Project > Clean.
    • Clean the resource of the server: click the ‣ next to Tomcat vX.Y Server, underneath it your project is displayed, right click it and select "Clean Module Work Directory..."

    You can also try to start the server in Debug mode: right click Tomcat vX.Y Server > Debug.

    0 讨论(0)
  • 2021-02-13 20:06

    The message is good, you have another process/application currently using the resources eclipse is trying to clean. If you're on linux, you can use lsof to find it. On windows, you have to guess or go through all applications currently opened.

    0 讨论(0)
  • 2021-02-13 20:09

    You just try to clean your tomcat server .

    • Go to tomcat server properties >switch to location >apply
    • Then clean your tomcat directory .
    • Clean Tomcat

    Its work for me

    0 讨论(0)
提交回复
热议问题