java.lang.NoSuchMethodError: ch.qos.logback.classic.LoggerContext.initCollisionMaps()V

Stack Overflow | Rakesh Varma | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    logback configuration failed

    Stack Overflow | 9 months ago | Rakesh Varma
    java.lang.NoSuchMethodError: ch.qos.logback.classic.LoggerContext.initCollisionMaps()V
  2. 0

    issues-cxf-apache - [jira] [Commented] (CXF-6511) Method "isCglibProxyClass" has been deleted on Spring 4.2 - msg#00225 - Recent Discussion OSDir.com

    osdir.com | 10 months ago
    java.lang.NoSuchMethodError: org.springframework.aop.support.AopUtils.isCglibProxyClass(Ljava/lang/Class;)Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:834) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5017) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5531)

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      ch.qos.logback.classic.LoggerContext.initCollisionMaps()V

      at ch.qos.logback.classic.LoggerContext.reset()
    2. Logback Classic Module
      LoggerContext.reset
      1. ch.qos.logback.classic.LoggerContext.reset(LoggerContext.java:222)
      1 frame
    3. Spring Boot
      LoggingApplicationListener.onApplicationEvent
      1. org.springframework.boot.logging.logback.LogbackLoggingSystem.reinitialize(LogbackLoggingSystem.java:193)
      2. org.springframework.boot.logging.AbstractLoggingSystem.initializeWithConventions(AbstractLoggingSystem.java:65)
      3. org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:50)
      4. org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:106)
      5. org.springframework.boot.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:277)
      6. org.springframework.boot.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:255)
      7. org.springframework.boot.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:224)
      8. org.springframework.boot.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:200)
      8 frames
    4. Spring Context
      SimpleApplicationEventMulticaster.multicastEvent
      1. org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)
      2. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)
      3. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:121)
      3 frames
    5. Spring Boot
      SpringBootServletInitializer.onStartup
      1. org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:111)
      2. org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:65)
      3. org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54)
      4. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:330)
      5. org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
      6. org.springframework.boot.context.web.SpringBootServletInitializer.run(SpringBootServletInitializer.java:149)
      7. org.springframework.boot.context.web.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:129)
      8. org.springframework.boot.context.web.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:85)
      8 frames
    6. Spring
      SpringServletContainerInitializer.onStartup
      1. org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169)
      1 frame
    7. Glassfish Core
      LifecycleBase.start
      1. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5164)
      2. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      2 frames