java.lang.ClassCastException: org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Pentaho BI Platform Tracking by Emanuel Teixeira, 7 months ago
org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender
via Pentaho BI Platform Tracking by Dan Rickner, 1 year ago
org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender
via pentaho.com by Unknown author, 1 year ago
org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender
via pentaho.com by Unknown author, 1 year ago
via Oracle Community by 672902, 1 year ago
org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender
via netbeans.org by Unknown author, 1 year ago
org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender
java.lang.ClassCastException: org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender
at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:248)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:191)
at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:523)
at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:436)
at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:1004)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:872)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:755)
at org.pentaho.di.core.logging.log4j.Log4jLogging.applyLog4jConfiguration(Log4jLogging.java:85)
at org.pentaho.di.core.logging.log4j.Log4jLogging.init(Log4jLogging.java:71)
at org.pentaho.di.core.KettleClientEnvironment.initLogginPlugins(KettleClientEnvironment.java:141)
at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:104)
at org.pentaho.di.kitchen.Kitchen$1.call(Kitchen.java:89)
at org.pentaho.di.kitchen.Kitchen$1.call(Kitchen.java:83)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.