I am trying to configure Spring Security in my simple application. Here is my configuration file, security.xml
:
You're declaring the namespace as b:
and using it everywhere except the enclosing beans
tag, in which you're using beans:beans
instead of b:beans
.
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
<b:bean...
with
<beans:bean...