One or more listeners failed to start. Full details will be found in the appropriate container log

原文链接: https://blog.csdn.net/FairytailRose/article/details/92814408

SSM框架Tomcat启动的时候报错

16:45:50.943 DEBUG org.apache.ibatis.logging.LogFactory 105 setImplementation - Logging initialized using 'class org.apache.ibatis.logging.log4j2.Log4j2Impl' adapter.
23-Sep-2019 16:45:51.366 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
23-Sep-2019 16:45:51.368 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
[2019-09-23 04:45:51,426] Artifact neighbours:war exploded: Error during artifact deployment. See server log for details.

按照报错信息去看日志文件,结果是空,

我们可以在web/webapp下的WEB-LNF路径下设置一个classes文件夹,里面创建一个logging.properties文件
内容写上

org.apache.catalina.core.ContainerBase.[Catalina].level=INFO 

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

这样我就看看具体的报错信息了,我的是因为我不小心在mapp.xml中写了一个符号,对符合没有说明,就报错了。

你可能感兴趣的:(SSM)