org.springframework.web.context.ContextLoaderListener: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_filterChainProxy': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_filterChainList': Cannot create inner bean '(inner bean)' of type [org.springframework.security.config.OrderedFilterBeanDefinitionDecorator$OrderedFilterDecorator] while setting bean property 'filters' with key [8]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#4': Cannot resolve reference to bean 'customAuthenticationProcessingFilter' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customAuthenticationProcessingFilter': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.alt.prj.services.ProjectDirManager com.alt.prj.spring.CustomAuthenticationProcessingFilter.pdmanager; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.alt.prj.services.ProjectDirManager] is defined: Unsatisfied dependency of type [class com.alt.prj.services.ProjectDirManager]: expected at least 1 matching bean

Stack Overflow | TimeIsNear | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Spring: Unsatisfied dependency of type expected at least 1 matching bean

    Stack Overflow | 8 months ago | TimeIsNear
    org.springframework.web.context.ContextLoaderListener: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_filterChainProxy': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_filterChainList': Cannot create inner bean '(inner bean)' of type [org.springframework.security.config.OrderedFilterBeanDefinitionDecorator$OrderedFilterDecorator] while setting bean property 'filters' with key [8]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#4': Cannot resolve reference to bean 'customAuthenticationProcessingFilter' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customAuthenticationProcessingFilter': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.alt.prj.services.ProjectDirManager com.alt.prj.spring.CustomAuthenticationProcessingFilter.pdmanager; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.alt.prj.services.ProjectDirManager] is defined: Unsatisfied dependency of type [class com.alt.prj.services.ProjectDirManager]: expected at least 1 matching bean

    Root Cause Analysis

    1. org.springframework.web.context.ContextLoaderListener

      org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_filterChainProxy': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_filterChainList': Cannot create inner bean '(inner bean)' of type [org.springframework.security.config.OrderedFilterBeanDefinitionDecorator$OrderedFilterDecorator] while setting bean property 'filters' with key [8]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#4': Cannot resolve reference to bean 'customAuthenticationProcessingFilter' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customAuthenticationProcessingFilter': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.alt.prj.services.ProjectDirManager com.alt.prj.spring.CustomAuthenticationProcessingFilter.pdmanager; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.alt.prj.services.ProjectDirManager] is defined: Unsatisfied dependency of type [class com.alt.prj.services.ProjectDirManager]: expected at least 1 matching bean

      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean()
    2. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)[spring-2.5.6.jar:2.5.6]
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)[spring-2.5.6.jar:2.5.6]
      2 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)[rt.jar:1.7.0_71]
      1 frame