我是靠谱客的博主 彪壮睫毛,最近开发中收集的这篇文章主要介绍Caused by: org.apache.logging.log4j.LoggingException: log4j-slf4j-impl cannot be present with log4j-前言错误提示:,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

前言错误提示:

Caused by: org.apache.logging.log4j.LoggingException: log4j-slf4j-impl cannot be present with log4j-to-slf4j

SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
java.lang.ExceptionInInitializerError
Caused by: org.apache.logging.log4j.LoggingException: log4j-slf4j-impl cannot be present with log4j-to-slf4j
	at org.apache.logging.slf4j.Log4jLoggerFactory.validateContext(Log4jLoggerFactory.java:49)
	at org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(Log4jLoggerFactory.java:39)
	at org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(Log4jLoggerFactory.java:30)
	at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:54)
	at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:30)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:363)
	at org.

最后

以上就是彪壮睫毛为你收集整理的Caused by: org.apache.logging.log4j.LoggingException: log4j-slf4j-impl cannot be present with log4j-前言错误提示:的全部内容,希望文章能够帮你解决Caused by: org.apache.logging.log4j.LoggingException: log4j-slf4j-impl cannot be present with log4j-前言错误提示:所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(34)

评论列表共有 0 条评论

立即
投稿
返回
顶部