前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >spingboot tomcat 报错 One or more listeners failed to start. Full details will be found in the appr...

spingboot tomcat 报错 One or more listeners failed to start. Full details will be found in the appr...

作者头像
飞奔去旅行
发布2019-10-12 15:56:21
2.5K0
发布2019-10-12 15:56:21
举报
文章被收录于专栏:智慧协同智慧协同

Tomcat启动报错: One or more listeners failed to start. Full details will be found in the appropriate container log file

src/main/reousrces/ 下添加文件 logging.properties,内容如下:

代码语言:javascript
复制
handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler

############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################

org.apache.juli.FileHandler.level = FINE
org.apache.juli.FileHandler.directory = ../logs
org.apache.juli.FileHandler.prefix = error-debug.

java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter

这样tomcat启动的时候就会打印错误日志,根据具体错误解决就OK了

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2019.10.11 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档