Loading

Tomcat启动报Error listenerStart错误

Tomcat启动报Error listenerStart错误

学习了:http://xpenxpen.iteye.com/blog/1545648

可以在WEB-INF/classes目录下新建一个文件叫logging.properties,

handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler  
  
############################################################  
# Handler specific properties.  
# Describes specific configuration info for Handlers.  
############################################################  
  
org.apache.juli.FileHandler.level = FINE  
org.apache.juli.FileHandler.directory = ${catalina.base}/logs  
org.apache.juli.FileHandler.prefix = error-debug.  
  
java.util.logging.ConsoleHandler.level = FINE  
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter  

 

posted @ 2018-06-06 09:58  stono  阅读(229)  评论(0编辑  收藏  举报