完美解决Logback configuration error detected的问题

编程之家收集整理的这篇文章主要介绍了完美解决Logback configuration error detected的问题编程之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
@H_419_0@这篇文章主要介绍了完美解决Logback configuration error detected的问题,具有很好的参考价值,希望对大家有所帮助。如有错误或未考虑完全的地方,望不吝赐教

@H_419_0@
目录

@H_419_0@错误日志

@H_419_0@pom.xml

@H_419_0@解决办法1

@H_419_0@解决办法2

@H_419_0@今天在springboot项目中替换log4j2日志的时候遇见的问题,闲话不多说。

@H_419_0@

错误日志

@H_419_0@Logging system Failed to initialize using configuration from 'classpath:log4j2-dev.xml' java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.spi.Interpreter@3:16 - no applicable action for [appenders], current ElementPath is [[configuration][appenders]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@4:67 - no applicable action for [Console], current ElementPath is [[configuration][appenders][Console]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@5:96 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][Console][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@10:119 - no applicable action for [RollingFile], current ElementPath is [[configuration][appenders][RollingFile]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@11:96 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][RollingFile][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@12:23 - no applicable action for [Policies], current ElementPath is [[configuration][appenders][RollingFile][Policies]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@13:45 - no applicable action for [TimeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][TimeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@14:57 - no applicable action for [SizeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][SizeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@16:48 - no applicable action for [DefaultRolloverStrategy], current ElementPath is [[configuration][appenders][RollingFile][DefaultRolloverStrategy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@21:79 - no applicable action for [RollingFile], current ElementPath is [[configuration][appenders][RollingFile]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@22:96 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][RollingFile][PatternLayout]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@23:23 - no applicable action for [Policies], current ElementPath is [[configuration][appenders][RollingFile][Policies]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@24:45 - no applicable action for [TimeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][TimeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@25:57 - no applicable action for [SizeBasedTriggeringPolicy], current ElementPath is [[configuration][appenders][RollingFile][Policies][SizeBasedTriggeringPolicy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@27:48 - no applicable action for [DefaultRolloverStrategy], current ElementPath is [[configuration][appenders][RollingFile][DefaultRolloverStrategy]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@28:79 - no applicable action for [ThresholdFilter], current ElementPath is [[configuration][appenders][RollingFile][ThresholdFilter]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@32:14 - no applicable action for [loggers], current ElementPath is [[configuration][loggers]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@36:64 - no applicable action for [logger], current ElementPath is [[configuration][loggers][logger]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@37:42 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][logger][appender-ref]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@38:43 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][logger][appender-ref]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@39:44 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][logger][appender-ref]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@43:77 - no applicable action for [logger], current ElementPath is [[configuration][loggers][logger]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@44:42 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][logger][appender-ref]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@50:28 - no applicable action for [root], current ElementPath is [[configuration][loggers][root]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@52:42 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appende上一篇:一篇文章带你了解Java Spring基础与IOC下一篇:简单介绍java中equals以及==的用法 热门搜索

@H_419_0@完美解决 

@H_419_0@G8.3不识别的问题的完美解决方案! 

@H_419_0@问题解决 

@H_419_0@完美解决Dedecms中的[html][/html]和[code][/code]问题 

@H_419_0@完美解决IIS 

@H_419_0@

相关文章

@H_419_0@

@H_419_0@

完美解决Logback configuration error detected的问题

2021-09-10阅读(2973)评论(0)推荐()

@H_419_0@这篇文章主要介绍了完美解决Logback configuration error detected的问题,具有很好的参考价值,希望对大家有所帮助。如有错误或未考...

@H_419_0@

@H_419_0@

ERROR/AndroidRuntime(17121)的问题解决

2021-10-07阅读(3058)评论(0)推荐()

@H_419_0@ERROR/AndroidRuntime(17121)的问题解决,需要的朋友可以参考一下

@H_419_0@

@H_419_0@

解决Django migrate No changes detected 不能创建表的问题

2021-10-17阅读(9411)评论(0)推荐()

@H_419_0@今天小编就为大家分享一篇解决Django migrate No changes detected 不能创建表的问题,具有很好的参考价值,希望对大家有所帮助。一起...

@H_419_0@

@H_419_0@

解决logback-classic 使用testCompile的打包问题

2021-11-05阅读(8823)评论(0)推荐()

@H_419_0@这篇文章主要介绍了解决logback-classic 使用testCompile的打包问题,具有很好的参考价值,希望对大家有所帮助。如有错误或未考虑完全的地方,...

@H_419_0@

@H_419_0@

iOS8.1.3-8.4完美越狱常见问题及解决办法汇总(持续更新)

2021-10-20阅读(8205)评论(0)推荐()

@H_419_0@iOS8.4完美越狱发布,本次越狱兼容iOS8.1.3-8.4系统设备。用户在进行iOS8.4越狱过程中都碰到哪些问题了呢?这些问题应该怎么解决?下面就看看iO...

@H_419_0@

@H_419_0@

MysqL Error 1698(28000)问题的解决方法

2021-10-15阅读(5108)评论(0)推荐()

@H_419_0@这篇文章主要介绍了MysqL Error 1698(28000)问题的解决方法,需要的朋友可以参考下

@H_419_0@

@H_419_0@

完美解决java.lang.OutOfMemoryError处理错误的问题

2021-09-20阅读(6574)评论(0)推荐()

@H_419_0@下面小编就为大家带来一篇完美解决java.lang.OutOfMemoryError处理错误的问题。小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟...

@H_419_0@

@H_419_0@取消

@H_419_0@有人回复邮件通知

@H_419_0@提交评论

@H_419_0@© 2021 编程之家 

@H_419_0@

@H_419_0@工信部备案号:琼ICP备2022000316号

@H_419_0@

总结

以上是编程之家为你收集整理的完美解决Logback configuration error detected的问题全部内容,希望文章能够帮你解决完美解决Logback configuration error detected的问题所遇到的程序开发问题。

如果觉得编程之家网站内容还不错,欢迎将编程之家网站推荐给程序员好友。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

Java相关文章

使用SpringBoot2.x配置静态文件缓存
Java动态代理四种实现方式详解
Eclipse开发JavaWeb项目配置Tomcat的方法步骤
详解领域驱动设计之事件驱动与CQRS
SpringBoot全局配置long转String丢失精度的问题解决
springboot yml定义属性,下文中${} 引用说明
IDEA解决Java:程序包xxxx不存在的问题
编程语言榜单Java与Python并列第二!Julia下滑
MyBatis Log 插件无法显示SQL语句的原因解析
jsp response.sendRedirect()用法详解
使用springboot访问图片本地路径并映射成url
springboot文件虚拟路径映射方式