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

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中写了一个符号,对符合没有说明,就报错了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值