<properties> <slf4j.version>1.6.4</slf4j.version> </properties> <dependencyManagement> <dependencies> <!-- 日志处理 --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>${slf4j.version}</version> </dependency> </dependencies> </dependencyManagement>
原文:https://www.cnblogs.com/yikuan-919/p/9704283.html