依賴錯(cuò)了拍埠,應(yīng)該是這個(gè):
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-log4j12 -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.25</version>
</dependency>
【轉(zhuǎn)】最詳細(xì)的Log4J使用教程原文地址:http://www.codeceo.com/article/log4j-usage.html 日志是應(yīng)用軟件中不可缺少的部分豌蟋,Apache的開源項(xiàng)目log4j是一...