每当我关闭 tomcat 服务器时,我都会收到以下异常。
java.util.logging.ErrorManager: 1
java.lang.NullPointerException
at org.apache.juli.FileHandler.publish(FileHandler.java:135)
at java.util.logging.Logger.log(Logger.java:452)
at java.util.logging.Logger.doLog(Logger.java:474)
at java.util.logging.Logger.logp(Logger.java:590)
at org.apache.commons.logging.impl.Jdk14Logger.log(Jdk14Logger.java:91)
at
org.apache.commons.logging.impl.Jdk14Logger.info(Jdk14Logger.java:162)
at
org.apache.coyote.http11.Http11BaseProtocol.pause(Http11BaseProtocol.java:167)
at org.apache.catalina.connector.Connector.pause(Connector.java:1031)
at
org.apache.catalina.core.StandardService.stop(StandardService.java:491)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
有人请帮助我在关闭时我能做些什么来消除这种类型的错误。