tomcat启动中出现 Error filterStart异常, 没有任何堆栈信息,如下:
SEVERE: Error filterStartJul 6, 2012 3:39:05 PM org.apache.catalina.core.StandardContext startInternalSEVERE: Context [] startup failed due to previous errors
解决方法:
在scr/main/resources中添加一个配置文件,如logging.properties,内容如下
org.apache.catalina.core.ContainerBase.[Catalina].level = INFOorg.apache.catalina.core.ContainerBase.[Catalina].handlers = java.util.logging.ConsoleHandler
在spring中将改properties文件添加到classpath:
classpath:logging.properties