org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personFinderService' defined in ServletContext resource [/WEB-INF/classes/spring.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager

Stack Overflow | ZhuYue | 2 months ago
  1. 0

    Spring and struts 2 integration, when start server "NoClassDefFoundError" error of LogManager happened

    Stack Overflow | 2 months ago | ZhuYue
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personFinderService' defined in ServletContext resource [/WEB-INF/classes/spring.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
  2. 0

    Class Not Found exception: STS

    Stack Overflow | 5 years ago | Warz
    java.lang.ClassNotFoundException: org.bixin.dugsi.security.JpaRealm
  3. 0

    axis2 xmlbeans problem

    Coderanch | 5 years ago | Marian Tataru
    java.lang.ExceptionInInitializerError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Struts 2 json plugin error java.lang.ClassNotFoundException:

    Stack Overflow | 4 years ago | jackyesind
    java.lang.ClassNotFoundException: com.opensymphony.xwork2.util.logging.LoggerFactory
  6. 0

    Getting 'java.lang.ClassNotFoundException: org.springframework.beans.BeansException' when starting tomcat

    Stack Overflow | 4 years ago | Umeshwali
    java.lang.ClassNotFoundException: org.springframework.beans.BeansException

  1. treefolk 1 times, last 1 week ago
  2. Tahir 2 times, last 2 months ago
  3. Piz 2027 times, last 4 months ago
  4. jedcua 1 times, last 4 months ago
  5. esaar 3 times, last 4 months ago
5 more registered users
90 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

    org.apache.logging.log4j.LogManager

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
    2 frames
  3. XWork
    ActionSupport.<init>
    1. com.opensymphony.xwork2.ActionSupport.<init>(ActionSupport.java:35)
    1 frame
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:525)
    4 frames
  5. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
    2. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:74)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:958)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
    6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    7. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    8. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    9. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    10. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    11. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
    11 frames
  6. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
    2 frames
  7. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    3 frames
  8. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
    5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
    6. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:676)
    7. org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:602)
    8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:503)
    9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)
    10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325)
    11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
    12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1068)
    13. org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
    14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
    15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    16. org.apache.catalina.core.StandardService.start(StandardService.java:525)
    17. org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
    18. org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    18 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:601)
    4 frames
  10. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    2 frames