这是我的stderr.log文件 .
SLF4J:类路径包含多个SLF4J绑定 . SLF4J:在[jar:file:/app/hadoop/tmp/nm-local-dir/usercache/dtadmin/appcache/application_1474540741175_0001/filecache/104/slf4j-log4j12-1.7.5.jar!/ org / slf4j /找到绑定impl / StaticLoggerBinder.class] SLF4J:在[jar:file:/usr/local/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/ org / slf4j / impl / StaticLoggerBinder中找到绑定 . 课程] SLF4J:
有关说明,请参见this网站 . SLF4J:实际绑定是类型
[org.slf4j.impl.Log4jLoggerFactory]
我试过了
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.21</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
</dependency>
但我仍然遇到同样的问题 .
任何人请建议我如何解决它 .