java项目去除log4j依赖

   <dependency>
            <groupId>com.github.xxx</groupId>
            <artifactId>xxx</artifactId>
            <version>2.1</version>
            <exclusions>
                <exclusion>
                    <artifactId>log4j</artifactId>
                    <groupId>log4j</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>slf4j-log4j12</artifactId>
                    <groupId>org.slf4j</groupId>
                </exclusion>
            </exclusions>
   </dependency>
   
   <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>log4j-over-slf4j</artifactId>
   </dependency>
上一篇:Leetcode-1447. 最简分数


下一篇:JDBC:ResultSet