Why is my publishing failing in Tomcat v7.0 Server because of locks by another process?

后端 未结 9 1751
臣服心动
臣服心动 2021-02-02 09:08

I have a Tomcat v7.0 server setup in my eclipse (helios) environment which I use for testing web applications. Currently I have in my workspace a struts web-app which is loaded

相关标签:
9条回答
  • 2021-02-02 09:47

    I have solved the problem according to the blow steps:

    1. Right click on your project
    2. Select Properties -> Deployment Assembly
    3. Click the button Add, select Java Build Path Entries, and click the button Next
    4. Select Maven Dependencies, finally click Finish.
    0 讨论(0)
  • 2021-02-02 09:48

    The reason behind this issue is currently tomcat server directory is open and locked by another process. So use below steps to resolve this issue-

    1. Close the tomcat server deployment directory
    2. Right click on server--> Clean tomcat work directory
    3. Right click on server--> clean and restart the server.
    0 讨论(0)
  • 2021-02-02 09:52

    I had the same issue. I solved it by doing a clean on the server several times. Every time I was doing the clean, different libraries were locked, until finally all were unlocked. I hope it helps!

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