org.springframework.beans.factory.BeanCreationException

Error creating bean with name 'crowdUserManager' defined in class path resource [applicationContext-CrowdClient.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_methodSecurityInterceptor': 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': Cannot create inner bean '(inner bean)' of type [com.atlassian.crowd.integration.springsecurity.RemoteCrowdAuthenticationProvider] while setting bean property 'providers' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#7' defined in ServletContext resource [/WEB-INF/security.xml]: Cannot resolve reference to bean 'crowdUserDetailsService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'crowdUserDetailsService' defined in ServletContext resource [/WEB-INF/security.xml]: Cannot resolve reference to bean 'crowdGroupMembershipManager' while setting bean property 'groupMembershipManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'crowdGroupMembershipManager' defined in class path resource [applicationContext-CrowdClient.xml]: Initialization of bean failed; nested exception is java.lang.NullPointerException

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web655

  • via Unknown by David Yu,
  • via Unknown by David Yu,
  • Stack trace

    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'crowdUserManager' defined in class path resource [applicationContext-CrowdClient.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_methodSecurityInterceptor': 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': Cannot create inner bean '(inner bean)' of type [com.atlassian.crowd.integration.springsecurity.RemoteCrowdAuthenticationProvider] while setting bean property 'providers' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#7' defined in ServletContext resource [/WEB-INF/security.xml]: Cannot resolve reference to bean 'crowdUserDetailsService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'crowdUserDetailsService' defined in ServletContext resource [/WEB-INF/security.xml]: Cannot resolve reference to bean 'crowdGroupMembershipManager' while setting bean property 'groupMembershipManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'crowdGroupMembershipManager' defined in class path resource [applicationContext-CrowdClient.xml]: Initialization of bean failed; nested exception is java.lang.NullPointerException at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:478) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    66 more bugmates