缺少slf4j的包:
添加依赖:
代码:
1 <dependency> 2 <groupId>org.slf4j</groupId> 3 <artifactId>slf4j-log4j12</artifactId> 4 <version>1.5.8</version> 5 </dependency>
代码:
1 <dependency> 2 <groupId>org.slf4j</groupId> 3 <artifactId>slf4j-log4j12</artifactId> 4 <version>1.5.8</version> 5 </dependency>
转载于:https://www.cnblogs.com/wangkang0320/p/6742246.html