On 07/05/2020 21:40, AJ Chen wrote: > I use eclipse to develop web app for tomcat, Web app has a dependent > project and so the dependent project and all jars are added on the > classpath for tomcat runtime. Log4j works on tomcat 6. But after upgrate to > tomcat 9, log4j failed to start with the following error. Anyone has seen > similar problem? log4j2 also failed. Thanks.
Note: log4j is no longer supported. How, exactly, is log4j configured? What JAR files and what configuration files are where? Any other configuration? Mark > > log4j:ERROR A "org.apache.log4j.DailyRollingFileAppender" object is not > assignable to a "org.apache.log4j.Appender" variable. > log4j:ERROR The class "org.apache.log4j.Appender" was loaded by > log4j:ERROR [sun.misc.Launcher$AppClassLoader@18b4aac2] whereas object of > type > log4j:ERROR "org.apache.log4j.DailyRollingFileAppender" was loaded by > [ParallelWebappClassLoader > > aj > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org