我在我的web项目中使用以下库:
当我组装war时,将额外的commons-logging-1.0.4.jar库复制到WEB-INF/lib.我认为这是因为我的一个库依赖于commons-logging-1.0.4.jar.我想排除commons-logging-1.0.4.jar(由于jcl-over-slf4j-1.6.0.jar已经在这里)使用
<dependency>
<groupId></groupId>
<artifactId></artifactId>
<version></version>
<exclusions>
...
</exclusions>
</dependency>
Run Code Online (Sandbox Code Playgroud)
为此,我需要找到我的pom中的库取决于commons-logging.