我正在尝试在我的spring MVC web应用程序上实现Spring安全性。当我试图加载页面时,我得到了一个404错误,即使服务器和应用程序是实时的,页面之前也是有效的,tomcat服务器在加载时打印出以下错误:
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'springSecurityFilterChain' is
正在尝试解析基于Java的配置中的org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'springSecurityFilterChain(".jsp");
}安全性的SecurityConfig.java文件:
这是我在花了几个小时试图解决它之后无法弄明白的事情。我正在学习使用java配置的spring安全性。我想出了以下异常,但不知道我应该做什么。with name 'springSecurityFilterChain' defined in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration: Factory met
嗨,我有一个spring项目,它具有使用OAUTH提供者对用户进行身份验证的spring安全性,并且我必须使用Spring契约来构建一个模拟服务器,用于消费者测试。当我运行.Ensure a Bean with the name springSecurityFilterChain implementing Filter is present or inject the Filterto be used.
java.lang.IllegalS