java.lang.ClassCastException: java.net.URL incompatible with java.lang.String

QOS.ch JIRA | Maxence Dewil | 6 years 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.

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.net.URL incompatible with java.lang.String

      at ch.qos.logback.classic.util.JNDIUtil.lookup()
    2. Logback Classic Module
      InsertFromJNDIAction.begin
      1. ch.qos.logback.classic.util.JNDIUtil.lookup(JNDIUtil.java:38)
      2. ch.qos.logback.classic.joran.action.InsertFromJNDIAction.begin(InsertFromJNDIAction.java:62)
      2 frames
    3. Logback Core Module
      GenericConfigurator.doConfigure
      1. ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:273)
      2. ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:145)
      3. ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:127)
      4. ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:40)
      5. ch.qos.logback.core.joran.spi.Interpreter.play(Interpreter.java:332)
      6. ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:126)
      6 frames