Estoy intentando configurar la seguridad básica del muelle. Estoy usando 3.1.0.RELEASE que tengo en el xml de seguridad muelle del modo siguiente:Spring Security-Error creando bean 'org.springframework.security.filterChains'
<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>
Cuando tengo acceso a la página de inicio, me sale el siguiente excepción: ption org.springframework.beans.factory.BeanCreationExce : Error al crear bean con el nombre 'org.springframework.security.filterChains': Falló la inicialización del bean; la excepción anidada es java.lang.NoSuchFieldError: NULL.
¿Alguien me puede ayudar?
org.springframework.beans.factory.BeanCreationException: Error al crear bean con el nombre 'org.springframework.security.filterChains': Inicialización de bean failed; la excepción anidada es java.lang.NoSuchFieldError: NULL \t en org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:527) – jrpalla
**************** ********** web XML *********** contextConfigLocation /WEB-INF/applicationContext-security.xml param valor> context-param> springSecurityFilterChain filter-name> <-clase de filtro> org.springframework.web.filter.DelegatingFilterProxy filter-clas s> springSecurityFilterChain filter-name> /* url-pattern> filter-mapping> –
jrpalla
Bienvenido a Stackoverflow. Una sugerencia: en lugar de agregar comandos, puedes editar la pregunta, esto la haría más legible. – Ralph