报错信息:

Caused by: java.lang.IllegalStateException: Logback configuration error detected:
ERROR in ch.qos.logback.core.joran.spi.Interpreter@29:21 - no applicable action for [patten], current ElementPath  is [[configuration][appender][encoder][patten]]
ERROR in ch.qos.logback.classic.PatternLayout("null") - Empty or null pattern.// 原因:java.lang.IllegalStateException: 检测到Logback配置错误:
// 错误 在 ch.qos.logback.core.joran.spi.Interpreter@29:21 - 没有 [patten] 的适用操作,当前元素路径为 [ [配置] [附加程序] [编码器] [模式] ]
// 错误 在 ch.qos.logback.classic.PatternLayout("null") - 空或null模式。

原因:

把<encoder><pattern>${log.pattern}</pattern></encoder>中的pattern写成了patten, T T

logback启动报错,IllegalStateException: Logback configuration error detected...相关推荐

  1. vue解决启动报错cjs loader.js Error: Cannot find module ‘../config‘问题

    vue解决启动报错cjs loader.js Error: Cannot find module '../config'问题 参考文章: (1)vue解决启动报错cjs loader.js Error ...

  2. vue启动报错Module build failed: Error: ENOENT: no such file or directory

    vue启动项目报错,一大坨  如下 Module build failed: Error: ENOENT: no such file or directory, scandir '/Users/son ...

  3. springboot启动报错org.yaml.snakeyaml.error.YAMLException...

    报错代码: java.lang.IllegalStateException: Failed to load property source from location 'classpath:/appl ...

  4. HBase Master启动报错java.io.IOException: error or interrupted while splitting logs

    今天在一个CDH环境中启动HBase时HBase Master启动发生异常,HBase Master采用的是两台HMaster做一个HA.从CDH管理界面查询启动成功后,HBase Master状态并 ...

  5. 关于Windows启动RabbitMQ启动报错Applying plugin configuration to rabbit@xxx... Plugin configuration unchanged

    今日想学习Rabbitmq操作,于是装了erlang和rabbitMQ,安装及环境变量配置我就不说了. 安装好后启动报了这个错误: 网上好多人都说版本问题,于是我按照官网推荐版本(erlang 22. ...

  6. play debug启动报错Error occurred during initialization of VM agent library failed to init: jdwp

    play 框架 部署后debug启动报错解决 错误代码: Error occurred during initialization of VM agent library failed to init ...

  7. Spring Cloud/Boot启动报错Consider defining a bean of type ServerCodecConfigurer

    网关项目启动报错内容如下: Error starting ApplicationContext. To display the conditions report re-run your applic ...

  8. springboot配置log4j2报错:java.lang.IllegalStateException: Logback configuration error detected:

    引入log4j2后启动报错. Exception in thread "main" java.lang.IllegalStateException: java.lang.Illeg ...

  9. springboot集成logback,报错java.lang.IllegalStateException: Logback configuration error detected:

    最近需要将一个springboot项目部署到一台新服务器上.而且新服务器是完全copy了旧服务器的环境与项目.但是在新服务器上启动该springboot项目,就一直报错 2019-03-18 18:5 ...

最新文章

  1. iOS-Swift中的递增(++)和递减(--)被取消的原因-官方答复
  2. intellij idea的TFS拉取项目文件不完全、文件误删恢复、TFS忽略文件解决方法
  3. python读取xml标注坐标_遍历文件 创建XML对象 方法 python解析XML文件 提取坐标计存入文件...
  4. Leetcode 74. 搜索二维矩阵 (每日一题 20210907)
  5. Bzoj1018 [SHOI2008]堵塞的交通traffic
  6. Machine Vision Pixel Calibration~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  7. 使用Nancy打造TaskManager2.0管理系统
  8. disruptor模拟高速处理大规模订单类业务场景
  9. 设计模式(Design Pattern,DP)
  10. 4G LTE概念以及VoLTE
  11. DOM系列之排他思想
  12. ASP.NET Core 和 EF Core系列教程——CRUD
  13. Now trying to drop the old temporary tablespace, the session hangs.
  14. 利用 FFMPEG 批量提取指定起止时间视频片段
  15. 移动应用推广的5大误区
  16. c++擦除mbr代码
  17. 信度分析,如何设计考试卷
  18. 强大的MySQL 官方压测神器,简单、易用
  19. Java基础语法的案例练习-编程思维的训练
  20. PHP开发的资产管理系统源码基于layuimini框架

热门文章

  1. 列车运行图的编制原则是什么_列车运行图编制的要求有那些?
  2. 商业分析 CBAP考试 每章节输入输出; Guidelines and Tools; Stakeholders
  3. c语言程序设计小组演示ppt,C语言程序设计讲稿完整版幻灯片.ppt
  4. 相控阵天线方位角俯仰角matlab画图,基于相控阵天线测试的波束指向角计算方法...
  5. 说说著名的计算机科学家和他们的代表成就,说一说你知道的科学家和他们的成就...
  6. 由于找不到vcruntime140_1.dll 、vcruntime140.dll
  7. EmEditor和腾讯桌面冲突临时解决方案
  8. 计算机学院辩论赛,计算机学院新生辩论赛圆满落幕
  9. everything 下载与安装
  10. 页面嵌iframe标签,给iframe标签里的按钮添加点击事件