我正在尝试基本的弹簧安全设置。我正在使用 3.1.0.RELEASE 我在 spring security xml 中,如下所示:
<security:http auto-config='true'>
<security:intercept-url pattern="/**" access="ROLE_USER" />
</security:http>
<security:authentication-manager>
<security:authentication-provider>
<security:user-service>
<security:user name="jimi" password="jimispassword" authorities="ROLE_USER, ROLE_ADMIN" />
<security:user name="bob" password="bobspassword" authorities="ROLE_USER" />
</security:user-service>
</security:authentication-provider>
</security:authentication-manager>
当我访问起始页时,出现以下异常:org.springframework.beans.factory.BeanCreationExce ption: Error created bean with name 'org.springframework.security.filterChains': Initialization of bean failed; 嵌套异常是 java.lang.NoSuchFieldError: NULL。
谁能帮我?