HTTP Status 500 - Filter execution threw an exception - doFilter and invokeDelegate repeated

前端 未结 2 1970
梦如初夏
梦如初夏 2021-01-26 11:55

I\'m using Spring-MVC (4.2.5) and Spring-Security (4.1.3) to develop a web application. I begin to have problems when I tried to incorporate the latter in my mvc project.

<
相关标签:
2条回答
  • 2021-01-26 12:22

    After double-checking all the configuration file, after reading the documentation, I came to the conclusion that there was nothing wrong. I simply solved downgrading from version 4.1.3 to 4.0.3

    0 讨论(0)
  • 2021-01-26 12:42

    please change the url pattern in web xml. That should work.

    <filter-mapping>
            <filter-name>springSecurityFilterChain</filter-name>
            <url-pattern>/user/*</url-pattern>
        </filter-mapping>
    
    0 讨论(0)
提交回复
热议问题