Log4j issue with maven and gwt: org.apache.log4j.XAppender object is not assignable
问题 I have a Maven GWT project. I included Hibernate and HSQLDB as persistence layer. Running the unit tests is fine, but when it try to run the server component, logging does not work and so I am blind to the errors on the server side. The errors I encouter are: [ERROR] log4j:ERROR A "org.apache.log4j.RollingFileAppender" object is not assig nable to a "org.apache.log4j.Appender" variable. [ERROR] log4j:ERROR The class "org.apache.log4j.Appender" was loaded by [ERROR] log4j:ERROR [sun.misc