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

Stack Overflow | Pedro Matos | 2 months ago
  1. 0

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

    Stack Overflow | 2 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 | 2 weeks ago | Enrico Morelli
    java.lang.ClassCastException: org.slf4j.impl.Log4jLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext
  3. 0

    [SYNCOPE-234] Failures upgrading OpenJPA - ASF JIRA

    apache.org | 1 year ago
    java.lang.ClassCastException: org.slf4j.impl.SimpleLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NoClassDefFoundError: ch/qos/logback/core/Context

    GitHub | 9 months ago | MarcJose
    java.lang.ClassCastException: org.slf4j.impl.SimpleLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext
  6. 0

    Sonar - an open source entreprise quality control tool user list

    gmane.org | 1 year ago
    com.ciphercloud.root: A type incompatibility occured while executing org.codehaus.sonar:sonar-maven-plugin:2.6:sonar: org.slf4j.impl.SimpleLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext ----------------------------------------------------- realm = plugin>org.codehaus.sonar:sonar-maven-plugin:2.6 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-maven-plugin/2.6/sonar-maven-plugin-2.6.jar urls[1] = file:/ccbuild/m2_repository/org/apache/maven/shared/maven-dependency-tree/1.2/maven-dependency-tree-1.2.jar urls[2] = file:/ccbuild/m2_repository/org/codehaus/plexus/plexus-utils/1.4.1/plexus-utils-1.4.1.jar urls[3] = file:/ccbuild/m2_repository/junit/junit/4.8.2/junit-4.8.2.jar urls[4] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-batch/2.6/sonar-batch-2.6.jar urls[5] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-core/2.6/sonar-core-2.6.jar urls[6] = file:/ccbuild/m2_repository/org/hibernate/hibernate-core/3.3.2.GA/hibernate-core-3.3.2.GA.jar urls[7] = file:/ccbuild/m2_repository/antlr/antlr/2.7.6/antlr-2.7.6.jar urls[8] = file:/ccbuild/m2_repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar urls[9] = file:/ccbuild/m2_repository/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.jar urls[10] = file:/ccbuild/m2_repository/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.jar urls[11] = file:/ccbuild/m2_repository/org/hibernate/hibernate-commons-annotations/3.1.0.GA/hibernate-commons-annotations-3.1.0.GA.jar urls[12] = file:/ccbuild/m2_repository/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA.jar urls[13] = file:/ccbuild/m2_repository/javassist/javassist/3.4.GA/javassist-3.4.GA.jar urls[14] = file:/ccbuild/m2_repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar urls[15] = file:/ccbuild/m2_repository/org/hibernate/hibernate-ehcache/3.3.2.GA/hibernate-ehcache-3.3.2.GA.jar urls[16] = file:/ccbuild/m2_repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar urls[17] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-deprecated/2.6/sonar-deprecated-2.6.jar urls[18] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-java-api/2.6/sonar-java-api-2.6.jar urls[19] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-plugin-api/2.6/sonar-plugin-api-2.6.jar urls[20] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-check-api/2.6/sonar-check-api-2.6.jar urls[21] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-colorizer/2.6/sonar-colorizer-2.6.jar urls[22] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-channel/2.6/sonar-channel-2.6.jar urls[23] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-duplications/2.6/sonar-duplications-2.6.jar urls[24] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-graph/2.6/sonar-graph-2.6.jar urls[25] = file:/ccbuild/m2_repository/com/google/collections/google-collections/1.0/google-collections-1.0.jar urls[26] = file:/ccbuild/m2_repository/org/picocontainer/picocontainer/2.10.2/picocontainer-2.10.2.jar urls[27] = file:/ccbuild/m2_repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar urls[28] = file:/ccbuild/m2_repository/javax/inject/javax.inject/1/javax.inject-1.jar urls[29] = file:/ccbuild/m2_repository/commons-dbcp/commons-dbcp/1.3/commons-dbcp-1.3.jar urls[30] = file:/ccbuild/m2_repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar urls[31] = file:/ccbuild/m2_repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar urls[32] = file:/ccbuild/m2_repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar urls[33] = file:/ccbuild/m2_repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar urls[34] = file:/ccbuild/m2_repository/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar urls[35] = file:/ccbuild/m2_repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar urls[36] = file:/ccbuild/m2_repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar urls[37] = file:/ccbuild/m2_repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar urls[38] = file:/ccbuild/m2_repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar urls[39] = file:/ccbuild/m2_repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar urls[40] = file:/ccbuild/m2_repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar urls[41] = file:/ccbuild/m2_repository/org/slf4j/log4j-over-slf4j/1.5.6/log4j-over-slf4j-1.5.6.jar urls[42] = file:/ccbuild/m2_repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar urls[43] = file:/ccbuild/m2_repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar urls[44] = file:/ccbuild/m2_repository/org/codehaus/woodstox/woodstox-core-lgpl/4.0.4/woodstox-core-lgpl-4.0.4.jar urls[45] = file:/ccbuild/m2_repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar urls[46] = file:/ccbuild/m2_repository/org/codehaus/woodstox/stax2-api/3.0.1/stax2-api-3.0.1.jar urls[47] = file:/ccbuild/m2_repository/org/codehaus/staxmate/staxmate/2.0.0/staxmate-2.0.0.jar urls[48] = file:/ccbuild/m2_repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar urls[49] = file:/ccbuild/m2_repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar urls[50] = file:/ccbuild/m2_repository/xalan/xalan/2.7.1/xalan-2.7.1.jar urls[51] = file:/ccbuild/m2_repository/xalan/serializer/2.7.1/serializer-2.7.1.jar urls[52] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-squid/2.6/sonar-squid-2.6.jar urls[53] = file:/ccbuild/m2_repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar urls[54] = file:/ccbuild/m2_repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar urls[55] = file:/ccbuild/m2_repository/ch/qos/logback/logback-classic/0.9.15/logback-classic-0.9.15.jar urls[56] = file:/ccbuild/m2_repository/ch/qos/logback/logback-core/0.9.15/logback-core-0.9.15.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[project>com.ciphercloud.root:com.ciphercloud.root:4.4.0.4, parent: ClassRealm[maven.api, parent: null]]] -----------------------------------------------------

    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.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