Skip to content

Commit fd4b8e1

Browse files
committed
让httpclient支持slf4j日志输出
1 parent dde7c64 commit fd4b8e1

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎weixin-java-common/pom.xml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,23 @@
3737
<dependency>
3838
<groupId>org.apache.httpcomponents</groupId>
3939
<artifactId>httpclient</artifactId>
40+
<exclusions>
41+
<exclusion>
42+
<artifactId>commons-logging</artifactId>
43+
<groupId>commons-logging</groupId>
44+
</exclusion>
45+
</exclusions>
4046
</dependency>
4147
<dependency>
4248
<groupId>org.apache.httpcomponents</groupId>
4349
<artifactId>httpmime</artifactId>
4450
</dependency>
51+
<dependency>
52+
<groupId>org.slf4j</groupId>
53+
<artifactId>jcl-over-slf4j</artifactId>
54+
<version>1.7.24</version>
55+
</dependency>
56+
4557
<dependency>
4658
<groupId>com.google.code.gson</groupId>
4759
<artifactId>gson</artifactId>

0 commit comments

Comments
 (0)