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

后端 未结 9 1864
臣服心动
臣服心动 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:41

    I have resolved the problem.

    I have developed Spring Boot application with Apache Tomcate 9.0 server. This application ran successfully without any error till today, but suddendly I got an error like

    could not delete.jars may be locked by othors
    

    I have done two mistakes.

    1. I have changed my password today due to expired, but forgot to change my password in .m2/setting.xml. So I corrected this.

    2. I have deleted below dependency from pom.xml:

      
          org.springframework.boot
          spring-boot-starter-security
      
      

提交回复
热议问题