java.lang.NoSuchMethodError: ch.qos.logback.core.util.Loader.getResourceOccurrenceCount(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/Set;

Google Groups | Srinivasan Thangavelu | 4 months ago
  1. 0

    grails 3.1.10 with spring boot 1.4.0.RELEASE is throwing Failed to instantiate ch.qos.logback

    Stack Overflow | 4 months ago | sri
    java.lang.NoSuchMethodError: ch.qos.logback.core.util.Loader.getResourceOccurrenceCount(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/Set;
  2. 0

    grails 3.1.10 with spring boot using 1.4.0.RELEASE is throwing Failed to instantiate ch.qos.logback

    Google Groups | 4 months ago | Srinivasan Thangavelu
    java.lang.NoSuchMethodError: ch.qos.logback.core.util.Loader.getResourceOccurrenceCount(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/Set;
  3. 0

    Eclipse can't find logback-test.xml on my classpath for unit tests

    Stack Overflow | 2 years ago | IceBox13
    java.lang.NoSuchMethodError: ch.qos.logback.core.util.Loader.getResourceOccurrenceCount(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/Set;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Errors while starting via docker-compose

    GitHub | 1 month ago | cmendesce
    java.lang.NoSuchMethodError: ch.qos.logback.core.util.Loader.getResourceOccurrenceCount(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/Set;
  6. 0

    Error while Running dropwizard-swagger

    GitHub | 3 months ago | ashishrathore1
    java.lang.NoSuchMethodError: org.reflections.util.ClasspathHelper.forPackage(Ljava/lang/String;[Ljava/lang/ClassLoader;)Ljava/util/Collection;

  1. eilonreshef 2 times, last 8 months ago
7 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.NoSuchMethodError

    ch.qos.logback.core.util.Loader.getResourceOccurrenceCount(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/Set;

    at ch.qos.logback.classic.util.ContextInitializer.multiplicityWarning()
  2. Logback Classic Module
    ContextInitializer.autoConfig
    1. ch.qos.logback.classic.util.ContextInitializer.multiplicityWarning(ContextInitializer.java:173)
    2. ch.qos.logback.classic.util.ContextInitializer.statusOnResourceSearch(ContextInitializer.java:196)
    3. ch.qos.logback.classic.util.ContextInitializer.getResource(ContextInitializer.java:143)
    4. ch.qos.logback.classic.util.ContextInitializer.findURLOfDefaultConfigurationFile(ContextInitializer.java:127)
    5. ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)
    5 frames
  3. SLF4J LOG4J-12 Binding
    StaticLoggerBinder.<clinit>
    1. org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85)
    2. org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
    2 frames
  4. SLF4J API Module
    LoggerFactory.getLogger
    1. org.slf4j.LoggerFactory.bind(LoggerFactory.java:140)
    2. org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:119)
    3. org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:328)
    4. org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:280)
    4 frames
  5. Apache Commons Logging
    LogFactory$getLog.call
    1. org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
    2. org.apache.commons.logging.LogFactory.getLog(LogFactory.java:290)
    3. org.apache.commons.logging.LogFactory$getLog.call(Unknown Source)
    3 frames
  6. Groovy
    AbstractCallSite.call
    1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
    2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
    3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
    3 frames
  7. ciab.base
    Application.<clinit>
    1. ciab.base.Application.<clinit>(Application.groovy)
    1 frame