org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.pg.config.def.ConfigConfigurator] for bean with name 'configConfi' defined in class path resource [META-INF/spring/config-common-beans.xml]: problem with class file or dependent class; nested exception is : org/springframework/beans/factory/InitializingBean at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcesso r.java:283)

coderanch.com | 3 months ago
  1. 0

    NoClassDefinition found exception even when the jar file is in WEB-INF/lib (Tomcat forum at Coderanch)

    coderanch.com | 8 months ago
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.pg.config.def.ConfigConfigurator] for bean with name 'configConfi' defined in class path resource [META-INF/spring/config-common-beans.xml]: problem with class file or dependent class; nested exception is : org/springframework/beans/factory/InitializingBean at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcesso r.java:283)
  2. 0

    NoClassDefinition found exception even when the jar file is in WEB-INF/lib (Tomcat forum at Coderanch)

    coderanch.com | 3 months ago
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.pg.config.def.ConfigConfigurator] for bean with name 'configConfi' defined in class path resource [META-INF/spring/config-common-beans.xml]: problem with class file or dependent class; nested exception is : org/springframework/beans/factory/InitializingBean at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcesso r.java:283)
  3. 0

    NoClassDefinition found exception even when the jar file is in WEB-INF/lib

    Coderanch | 6 years ago | ravi cccc
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.pg.config.def.ConfigConfigurator] for bean with name 'configConfi' defined in class path resource [META-INF/spring/config-common-beans.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/beans/factory/InitializingBean
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class (Spring forum at Coderanch)

    coderanch.com | 7 months ago
    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.vaannila.HelloWorld] for bean with name 'helloWorldClass' defined in ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is : com.vaannila.HelloWorld
  6. 0

    Spring Web App - CannotLoadBeanClassException caused by Java.lang.ClassNotFoundException

    Stack Overflow | 6 years ago | Chris
    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [example.jersey.spring.dao] for bean with name 'testDAO' defined in class path resource [ApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: example.jersey.spring.dao

    8 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.CannotLoadBeanClassException

      Error loading class [com.pg.config.def.ConfigConfigurator] for bean with name 'configConfi' defined in class path resource [META-INF/spring/config-common-beans.xml]: problem with class file or dependent class; nested exception is : org/springframework/beans/factory/InitializingBean at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcesso r.java:283)

      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean()
    2. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1055)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
      4. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
      5. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
      7. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
      8. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)
      8 frames
    3. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
      2 frames
    4. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
      3 frames
    5. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
      3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      6. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
      7. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
      8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
      9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
      10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      13. org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      16. org.apache.catalina.core.StandardService.start(StandardService.java:516)
      17. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      18. org.apache.catalina.startup.Catalina.start(Catalina.java:566)
      18 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    7. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      2 frames