我用xml配置报这个错误

来源:3-2 日志的使用

我要跳槽

2019-06-23

ERROR in ch.qos.logback.core.joran.spi.Interpreter@18:87 - no applicable action for [rollingPolicy], current ElementPath is [[configuration][appender][encoder][rollingPolicy]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@20:34 - no applicable action for [fileNamePattern], current ElementPath is [[configuration][appender][encoder][rollingPolicy][fileNamePattern]]

写回答

1回答

廖师兄

2019-06-24

你的代码写错啦。提问题,不光要给出错误日志,还需要把你的代码给出来。你可以对比课程源码里的logback配置文件。逐行检查。

0
0

Spring Boot双版本(1.5/2.1) 打造企业级微信点餐系统

从0到1开发中小型企业级Java应用,并学会迭代重构技巧

6418 学习 · 5257 问题

查看课程