java.lang.ClassCastException: org.slf4j.impl.SimpleLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext

Stack Overflow | Pedro Matos | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Importing Jar in Play Framework gives me java.lang.ClassCastException

    Stack Overflow | 6 months ago | Pedro Matos
    java.lang.ClassCastException: org.slf4j.impl.SimpleLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext
  2. 0

    [Play-2.5.10-Java] Using tika library the application doesn't start

    Google Groups | 4 months ago | Enrico Morelli
    java.lang.ClassCastException: org.slf4j.impl.Log4jLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext
  3. 0

    GitHub comment 6679#278918928

    GitHub | 2 months ago | igmar
    java.lang.ClassCastException: org.apache.logging.slf4j.Log4jLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to handle logging dependency in PlayFramework

    Stack Overflow | 2 weeks ago | Daniel
    java.lang.ClassCastException: org.slf4j.impl.Log4jLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.slf4j.impl.SimpleLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext

      at play.api.libs.logback.LogbackLoggerConfigurator.configure()
    2. play.api.libs
      LogbackLoggerConfigurator.init
      1. play.api.libs.logback.LogbackLoggerConfigurator.configure(LogbackLoggerConfigurator.scala:80)
      2. play.api.libs.logback.LogbackLoggerConfigurator.init(LogbackLoggerConfigurator.scala:26)
      2 frames
    3. Play Server
      DevServerStart$$anonfun$mainDev$1.apply
      1. play.core.server.DevServerStart$$anonfun$mainDev$1.apply(DevServerStart.scala:94)
      2. play.core.server.DevServerStart$$anonfun$mainDev$1.apply(DevServerStart.scala:65)
      2 frames
    4. Play
      Threads$.withContextClassLoader
      1. play.utils.Threads$.withContextClassLoader(Threads.scala:21)
      1 frame
    5. Play Server
      DevServerStart.mainDevHttpMode
      1. play.core.server.DevServerStart$.mainDev(DevServerStart.scala:64)
      2. play.core.server.DevServerStart$.mainDevHttpMode(DevServerStart.scala:54)
      3. play.core.server.DevServerStart.mainDevHttpMode(DevServerStart.scala)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    7. RunSupport
      Reloader$.startDevMode
      1. play.runsupport.Reloader$.startDevMode(Reloader.scala:234)
      1 frame
    8. play.sbt.run
      PlayRun$$anonfun$playRunTask$1$$anonfun$apply$2$$anonfun$apply$3.apply
      1. play.sbt.run.PlayRun$$anonfun$playRunTask$1$$anonfun$apply$2$$anonfun$apply$3.devModeServer$lzycompute$1(PlayRun.scala:74)
      2. play.sbt.run.PlayRun$$anonfun$playRunTask$1$$anonfun$apply$2$$anonfun$apply$3.play$sbt$run$PlayRun$$anonfun$$anonfun$$anonfun$$devModeServer$1(PlayRun.scala:74)
      3. play.sbt.run.PlayRun$$anonfun$playRunTask$1$$anonfun$apply$2$$anonfun$apply$3.apply(PlayRun.scala:100)
      4. play.sbt.run.PlayRun$$anonfun$playRunTask$1$$anonfun$apply$2$$anonfun$apply$3.apply(PlayRun.scala:53)
      4 frames
    9. Scala
      Function1$$anonfun$compose$1.apply
      1. scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
      1 frame