【Mavne】log4j-slf4j-impl cannot be present with log4j-to-slf4j

在这里插入图片描述

1.背景

一个正常项目git下后报错

Exception in thread ”main” java.lang.ExceptionInInitializerError
	at com.baas.engine.isoc.correlation.asiddhiApplicationmaineassiddhiapplication.java:19)
Caused by: org.apache.logging.1og4j.LoggingException: log4j-slf4j-impl cannot be present with log4j-to-slf4j
	at org.apache.logging.slf4j.log4jlogg actory.validateContext(Log4jogg:
	at org.apache.logging.slf4j.Log4jLoggerF actory.newLogger(Log4jLoggerFactorya
	at org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(Log4jLoggerFacory.av

猜你喜欢

转载自blog.csdn.net/qq_21383435/article/details/106198350