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 Dan Rickner, 1 year ago
org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender
via liferay.com by Unknown author, 1 year ago
org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender
via liferay.com by Unknown author, 1 year ago
org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender
via liferay.com by Unknown author, 1 year ago
org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender
via liferay.com by Unknown author, 2 years ago
org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender
via liferay.com 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.parseRoot(DOMConfigurator.java:492)
at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:1006)
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)

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.