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 | 5 months ago
  1. 0

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

    Stack Overflow | 5 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
  2. 0

    deployment in weblogic 10.1 (BEA/Weblogic forum at JavaRanch)

    coderanch.com | 1 year ago
    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 [5]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#2': Cannot resolve reference to bean 'authenticationProcessingFilter' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationProcessingFilter' defined in class path resource [aglite-security-config.xml]: Cannot resolve reference to bean 'userService' while setting bean property 'userService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in class path resource [aglite-security-config.xml]: Initialization of bean failed; nested exception is : com.arisglobal.aglite.entity.AbstractEntity.pcGetManagedFieldCount()I
  3. 0

    Unexpected exception parsing XML - Spring Forum

    spring.io | 6 months ago
    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 resolve reference to bean '_rememberMeFilter' while setting bean property 'filters' with key [6]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_rememberMeFilter': Cannot resolve reference to bean '_rememberMeServices' while setting bean property 'rememberMeServices'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_rememberMeServices': Initialization of bean failed; nested exception is org.springframework.security.config.SecurityConfigurationException: No UserDetailsService registered.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    deployment in weblogic 10.1

    Coderanch | 7 years ago | shree hegde
    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 [5]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#2': Cannot resolve reference to bean 'authenticationProcessingFilter' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationProcessingFilter' defined in class path resource [aglite-security-config.xml]: Cannot resolve reference to bean 'userService' while setting bean property 'userService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in class path resource [aglite-security-config.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: com.arisglobal.aglite.entity.AbstractEntity.pcGetManagedFieldCount()I
  6. 0

    Trouble with the 5.0.1 Server

    pentaho.com | 11 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'filterChainProxy' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/applicationContext-spring-security.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'basicProcessingFilter' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/applicationContext-spring-security.xml]: Cannot resolve reference to bean 'authenticationManager' while setting bean property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/applicationContext-spring-security.xml]: Cannot create inner bean 'pen:bean#427b6cc7' of type [org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder] while setting bean property 'providers' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pen:bean#427b6cc7': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.providers.dao.DaoAuthenticationProvider#1' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/applicationContext-spring-security-jackrabbit.xml]: Cannot create inner bean 'pen:bean#335dcd0c' of type [org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder] while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pen:bean#335dcd0c': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cachingUserDetailsService' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/pentahoObjects.spring.xml]: Cannot resolve reference to bean 'UserDetailsService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UserDetailsService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsService' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/applicationContext-spring-security-jackrabbit.xml]: Cannot resolve reference to bean 'userRoleDaoTxn' while setting bean property 'userRoleDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRoleDaoTxn' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Cannot resolve reference to bean 'userRoleDao' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRoleDao' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Cannot resolve reference to bean 'adminJcrTemplate' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminJcrTemplate' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Cannot resolve reference to bean 'jcrAdminSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrAdminSessionFactory' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Cannot resolve reference to bean 'jcrRepository' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrRepository' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Invocation of init method failed; nested exception is javax.jcr.RepositoryException: The repository home /opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/jackrabbit/repository appears to be in use since the file named .lock is locked by another process.

    25 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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.BeanDefinitionValueResolver.resolveInnerBean()
    2. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)[spring-2.5.6.jar:2.5.6]
      2. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)[spring-2.5.6.jar:2.5.6]
      3. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:287)[spring-2.5.6.jar:2.5.6]
      4. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)[spring-2.5.6.jar:2.5.6]
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)[spring-2.5.6.jar:2.5.6]
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)[spring-2.5.6.jar:2.5.6]
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)[spring-2.5.6.jar:2.5.6]
      8. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)[spring-2.5.6.jar:2.5.6]
      8 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)[rt.jar:1.7.0_71]
      1 frame
    4. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)[spring-2.5.6.jar:2.5.6]
      2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)[spring-2.5.6.jar:2.5.6]
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[spring-2.5.6.jar:2.5.6]
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)[spring-2.5.6.jar:2.5.6]
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)[spring-2.5.6.jar:2.5.6]
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)[spring-2.5.6.jar:2.5.6]
      6 frames
    5. spring-security-config
      FilterChainProxyPostProcessor.postProcessBeforeInitialization
      1. org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:52)[spring-security-core-2.0.6.RELEASE.jar:]
      1 frame
    6. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:350)[spring-2.5.6.jar:2.5.6]
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1331)[spring-2.5.6.jar:2.5.6]
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)[spring-2.5.6.jar:2.5.6]
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)[spring-2.5.6.jar:2.5.6]
      4 frames
    7. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)[rt.jar:1.7.0_71]
      1 frame
    8. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)[spring-2.5.6.jar:2.5.6]
      2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)[spring-2.5.6.jar:2.5.6]
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[spring-2.5.6.jar:2.5.6]
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)[spring-2.5.6.jar:2.5.6]
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)[spring-2.5.6.jar:2.5.6]
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)[spring-2.5.6.jar:2.5.6]
      7. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)[spring-2.5.6.jar:2.5.6]
      7 frames
    9. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)[spring-2.5.6.jar:2.5.6]
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)[spring-2.5.6.jar:2.5.6]
      2 frames
    10. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)[spring-2.5.6.jar:2.5.6]
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)[spring-2.5.6.jar:2.5.6]
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)[spring-2.5.6.jar:2.5.6]
      3 frames
    11. Glassfish Core
      StandardContext.start
      1. org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:3777)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      2 frames
    12. JBoss Web
      WebDeploymentService$1.run
      1. org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156)[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      2. org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      3. org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      3 frames
    13. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[rt.jar:1.7.0_71]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)[rt.jar:1.7.0_71]
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.0_71]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.0_71]
      5. java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.0_71]
      5 frames
    14. JBoss Threads
      JBossThread.run
      1. org.jboss.threads.JBossThread.run(JBossThread.java:122)
      1 frame