tomcat啓動中出現 Error filterStart異常, 沒有任何堆棧信息,以下:
SEVERE: Error filterStart Jul 6, 2012 3:39:05 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Context [] startup failed due to previous errors
解決方法:java
在scr/main/resources中添加一個配置文件,如logging.properties,內容以下spring
org.apache.catalina.core.ContainerBase.[Catalina].level = INFO org.apache.catalina.core.ContainerBase.[Catalina].handlers = java.util.logging.ConsoleHandler
在spring中將改properties文件添加到classpath:apache
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="locations"> <list> <value>classpath:logging.properties</value> </list> </property> </bean>