Rectangle 27 0

spring org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'springSecurityFilterChain' is defined Java Based Configuration?


Sign up for our newsletter and get our top new questions delivered to your inbox (see an example).

No. I have never been able to resolve the issue. Still struggling with that.

Please provide more details as to how you think this problem can be resolved. ie specifically where in what files should the definition for the filter go? Thanks

Spring container is trying to find springSecurityFilterChain bean in application context, not web application context. Change spring security configuration to be included in root context.

Note
Rectangle 27 0

spring org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'springSecurityFilterChain' is defined Java Based Configuration?


<http auto-config='true'>
    <intercept-url pattern="/**" access="ROLE_USER" />
</http>

Please provide minimal configuration of spring-security

Note