Tomcat报错
Exception in thread "Timer-0" java.lang.NullPointerException
at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.
java:255)
at com.mchange.v2.resourcepool.BasicResourcePool$CheckIdleResourcesTask.
run(BasicResourcePool.java:1961)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
也可能是Timer-N
意思是说Log4指向空指针异常。
出现这个错误,主要是我使用了http://localhost/manager/reload?path=demo命令重启web,重启Tomcat就不会报错。