Context initialization failed - NoSuchMethodError: AntPathMatcher.setCaseSensitive()

前端 未结 1 493
渐次进展
渐次进展 2021-01-21 15:52

After configuring spring security in my spring mvc application I get the follow error when running it:

org.springframework.beans.factory.BeanCreationException: E         


        
相关标签:
1条回答
  • 2021-01-21 16:14

    The setCaseSensitive() method of AntPathMatcher does not exists on spring-core-4.1.x. You have to use the 4.2.x version. See the AntPathMatcher on 4.1.X.RELEASE and AntPathMatcher on 4.2.X.RELEASE.

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