Log4j consoleappender object



Keywords: log4j consoleappender object
Description: log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable I am making a web app using gradle. I used log4j in this

log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable

I am making a web app using gradle. I used log4j in this app. When I build the project I am getting error.

  • log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
  • log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
  • log4j:ERROR [org.powermock.core.classloader.MockClassLoader@16a40b2] whereas object of type
  • log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [sun.misc.Launcher$AppClassLoader@5e3a78ad].
  • log4j:ERROR Could not instantiate appender named "stdout".

I still did not find a good answer. And I forgot to say, My project build correctly and show log massages correctly. It doesn't work only on test classes.






Photogallery Log4j consoleappender object:


Commons Logging Tutorial


Spring data jpa + jsf + maven + mysql using eclipse ide - simple exam


Chapter 6: Layouts


Log4j


Introduccin a log4j | Adictos al Trabajo


Apache Log4j 2 Tutorial  Configuration, Levels, Appenders, Lookup ...


java - Where does the slf4j log file get saved? - Stack Overflow


How do I configure Log4J with properties? - Web Tutorials ...


How do I configure Log4J with properties? - Web Tutorials ...


How do I configure Log4J with properties? - Web Tutorials ...


Photographs log4j fileappender object - n3.fotomaps.ru


Log4j XML Configuration Example | Learning is for Everyone


Log4j


Log4j


Log4j


LOG4PLSQL: UserGuide


Integrate Spring MVC with Log4j | Trunk ShellTrunk Shell


IBM Exporting and importing FileNet P8 object instances - United ...