编程语言
首页 > 编程语言> > java项目去除log4j依赖

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>

标签:java,over,xxx,slf4j,去除,org,log4j
来源: https://www.cnblogs.com/nexusHan/p/15907374.html