security.xml strange error using Spring

后端 未结 2 1520
盖世英雄少女心
盖世英雄少女心 2021-01-23 18:31

I am trying to configure Spring Security in my simple application. Here is my configuration file, security.xml:



        
2条回答
  •  伪装坚强ぢ
    2021-01-23 19:14

    You're missing up the beans and b prefixes. You've declared the b prefix, and then used the beans one. You need to pick one and stick with it. For example, replace

    xmlns:b="http://www.springframework.org/schema/beans" 
    

    with

    xmlns:beans="http://www.springframework.org/schema/beans" 
    

    and then

    with

提交回复
热议问题