Althars123 3 years ago
parent
commit
61623a3cee
1 changed files with 11 additions and 0 deletions
  1. 11 0
      zzjs-common/pom.xml

+ 11 - 0
zzjs-common/pom.xml

@@ -152,10 +152,21 @@
             <version>5.6.38</version>
         </dependency>
 
+        <!--腾讯云sdk依赖,排除log4j依赖,解决与框架中logback的冲突-->
         <dependency>
             <groupId>com.qcloud</groupId>
             <artifactId>vod_api</artifactId>
             <version>2.1.4</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>log4j</groupId>
+                    <artifactId>log4j</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.slf4j</groupId>
+                    <artifactId>slf4j-log4j12</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
         <!--<dependency>-->