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

Google Groups | Srinivasan Thangavelu | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    Stack Overflow | 6 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 | 6 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 | 4 months ago | cmendesce
    java.lang.NoSuchMethodError: ch.qos.logback.core.util.Loader.getResourceOccurrenceCount(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/Set;

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