org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory] for bean with name 'consumerManager' defined in class path resource [applicationContext-OpenIDClient.xml]; nested exception is java.lang.ClassNotFoundException: com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory

Atlassian JIRA | a.pannwitz@convivo.de | 10 months ago
  1. 0

    When upgrading from crowd 2.5.1 to crowd 2.8.4 I get the following error message in catalina.out: Feb 18, 2016 12:02:31 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib Feb 18, 2016 12:02:31 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8095"] Feb 18, 2016 12:02:31 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 429 ms Feb 18, 2016 12:02:31 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Feb 18, 2016 12:02:31 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.62 Feb 18, 2016 12:02:31 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor /opt/atlassian/crowd/apache-tomcat/conf/Catalina/localhost/openidclient.xml Feb 18, 2016 12:02:33 PM org.apache.catalina.startup.TldConfig execute INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 2016-02-18 12:02:34,503 localhost-startStop-1 ERROR [springframework.web.context.ContextLoader] Context initialization failed org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory] for bean with name 'consumerManager' defined in class path resource [applicationContext-OpenIDClient.xml]; nested exception is java.lang.ClassNotFoundException: com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1278) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:628) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:575) at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1347) at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:913) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:614) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:677) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1912) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) at org.springframework.util.ClassUtils.forName(ClassUtils.java:266) at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:419) at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1299) at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1270) ... 23 more 2016-02-18 12:02:34,730 localhost-startStop-1 ERROR [apache.struts2.spring.StrutsSpringObjectFactory] Cannot find class [com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory] for bean with name 'consumerManager' defined in class path resource [applicationContext-OpenIDClient.xml]; nested exception is java.lang.ClassNotFoundException: com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory 2016-02-18 12:02:34,740 localhost-startStop-1 ERROR [apache.struts2.dispatcher.Dispatcher] Dispatcher initialization failed java.lang.NullPointerException at com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance(SpringObjectFactory.java:245) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyResultType(XmlConfigurationProvider.java:608) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addResultTypes(XmlConfigurationProvider.java:578) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:534) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:295) at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:264) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67) at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:967) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:435) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:479) Did I miss something?

    Atlassian JIRA | 10 months ago | a.pannwitz@convivo.de
    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory] for bean with name 'consumerManager' defined in class path resource [applicationContext-OpenIDClient.xml]; nested exception is java.lang.ClassNotFoundException: com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory
  2. 0

    When upgrading from crowd 2.5.1 to crowd 2.8.4 I get the following error message in catalina.out: Feb 18, 2016 12:02:31 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib Feb 18, 2016 12:02:31 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8095"] Feb 18, 2016 12:02:31 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 429 ms Feb 18, 2016 12:02:31 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Feb 18, 2016 12:02:31 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.62 Feb 18, 2016 12:02:31 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor /opt/atlassian/crowd/apache-tomcat/conf/Catalina/localhost/openidclient.xml Feb 18, 2016 12:02:33 PM org.apache.catalina.startup.TldConfig execute INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 2016-02-18 12:02:34,503 localhost-startStop-1 ERROR [springframework.web.context.ContextLoader] Context initialization failed org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory] for bean with name 'consumerManager' defined in class path resource [applicationContext-OpenIDClient.xml]; nested exception is java.lang.ClassNotFoundException: com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1278) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:628) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:575) at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1347) at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:913) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:614) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:677) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1912) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) at org.springframework.util.ClassUtils.forName(ClassUtils.java:266) at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:419) at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1299) at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1270) ... 23 more 2016-02-18 12:02:34,730 localhost-startStop-1 ERROR [apache.struts2.spring.StrutsSpringObjectFactory] Cannot find class [com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory] for bean with name 'consumerManager' defined in class path resource [applicationContext-OpenIDClient.xml]; nested exception is java.lang.ClassNotFoundException: com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory 2016-02-18 12:02:34,740 localhost-startStop-1 ERROR [apache.struts2.dispatcher.Dispatcher] Dispatcher initialization failed java.lang.NullPointerException at com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance(SpringObjectFactory.java:245) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyResultType(XmlConfigurationProvider.java:608) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addResultTypes(XmlConfigurationProvider.java:578) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:534) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:295) at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:264) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67) at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:967) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:435) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:479) Did I miss something?

    Atlassian JIRA | 10 months ago | a.pannwitz@convivo.de
    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory] for bean with name 'consumerManager' defined in class path resource [applicationContext-OpenIDClient.xml]; nested exception is java.lang.ClassNotFoundException: com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory
  3. 0

    java.lang.classnotfoundexception org.springframework.web.context.contextloaderlistener

    Stack Overflow | 2 years ago | Fustigador
    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.goatsoft.appark.dao.UserDaoImpl] for bean with name 'userDao' defined in ServletContext resource [/WEB-INF/spring/root-context.xml]; nested exception is java.lang.ClassNotFoundException: com.goatsoft.appark.dao.UserDaoImpl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tomcat Server randomly breaks in Spring Source

    Stack Overflow | 3 years ago | user1622874
    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.nbs.lisa.multipart.CustomCommonsMultipartResolver] for bean with name 'multipartResolver' defined in ServletContext resource [/WEB-INF/spring/root-context.xml]; nested exception is java.lang.ClassNotFoundException: com.nbs.lisa.multipart.CustomCommonsMultipartResolver
  6. 0

    Dao class not fount Exception in Spring MVC

    Stack Overflow | 2 years ago | user3636334
    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [DAO.UsersaosiImplDatabase] for bean with name 'UsersaosiDAO' defined in ServletContext resource [/WEB-INF/spring-beans.xml]; nested exception is java.lang.ClassNotFoundException: DAO.UsersaosiImplDatabase

  1. Kawada 28 times, last 6 months ago
  2. treefolk 1 times, last 2 weeks ago
  3. Tahir 2 times, last 2 months ago
  4. Piz 2027 times, last 4 months ago
  5. jedcua 1 times, last 4 months ago
5 more registered users
89 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. java.lang.ClassNotFoundException

    com.atlassian.crowd.openid.client.util.ProxiableConsumerManagerFactory

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
    2 frames
  3. Spring Core
    ClassUtils.forName
    1. org.springframework.util.ClassUtils.forName(ClassUtils.java:266)
    1 frame
  4. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:419)
    2. org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1299)
    3. org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1270)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:628)
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:575)
    6. org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1347)
    7. org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:913)
    8. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:614)
    8 frames
  5. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
    2 frames
  6. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
    3 frames
  7. Glassfish Core
    HostConfig$DeployDescriptor.run
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
    2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528)
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
    7. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:677)
    8. org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1912)
    8 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames