org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart

后端 未结 6 690
伪装坚强ぢ
伪装坚强ぢ 2021-02-02 06:17

I am trying to start my web application on Tomcat 7, but whenever I click on the start button, I get this error:

FAIL - Application at context path /Web c

6条回答
  •  天涯浪人
    2021-02-02 06:30

    I faced exactly the same issue in a Spring web app. In fact, I had removed spring-security by commenting the config annotation:

    // @ImportResource({"/WEB-INF/spring-security.xml"})
    

    but I had forgotten to remove the corresponding filters in web.xml:

     
    
        springSecurityFilterChain
        org.springframework.web.filter.DelegatingFilterProxy
    
    
    
        springSecurityFilterChain
        /*
    
    

    Commenting filters solved the issue.

提交回复
热议问题