Tomcat One or more listeners failed to start问题解决

问题描述:

十一月 01, 2018 10:27:28 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more listeners failed to start. Full details will be found in the appropriate container log file
十一月 01, 2018 10:27:28 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [] startup failed due to previous errors

解决方法:
只打印了ERROR级别的日志,不详细无法定位问题
${catalina.base}/conf/logging.properties或者应用的WEB-INF/classes/logging.properties日志文件新增两行,重启后可以看到详细的报错日志

org.apache.catalina.core.ContainerBase.[Catalina].level=INFO
org.apache.catalina.core.ContainerBase.[Catalina].handlers=java.util.logging.ConsoleHandler

你可能感兴趣的:(Tomcat)