【发布时间】:2011-12-07 13:52:18
【问题描述】:
嗨,我在 Spring Security 应用程序中遇到了以下错误,我无法上传限制大上传的公司详细信息, 有什么问题?
org.springframework.beans.factory.BeanCreationException:创建名为“accessConfirmationController”的bean时出错:我 自动装配依赖项的注入失败;嵌套异常是 org.springframework.beans.factory.BeanCreationException:无法自动装配方法:public void o rg.springframework.security.oauth.examples.sparklr.mvc.AccessConfirmationController.setAuthenticationCache(org.springframework.security.oauth2.provider.code.Cli entAuthenticationCache);嵌套异常是 org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [org.springframework.secu rity.oauth2.provider.code.ClientAuthenticationCache] 找到依赖项:预计至少有 1 个 bean 有资格作为此依赖项的自动装配候选者。 D 依赖注释:{}: org.springframework.beans.factory.NoSuchBeanDefinitionException:没有匹配的 bean 类型 [org.springframework.security.oauth2.provider.code.ClientAuthenticatio nCache] 找到依赖项:预计至少有 1 个 bean 有资格作为此依赖项的自动装配候选者。依赖注解
【问题讨论】:
标签: hibernate spring spring-security