#sbt
Вопрос:
Я пытаюсь создать проект в SBT после того, как я добавил зависимость от «org.apache» в подмодуль.zookeeper» % «zookeeper» % «3.7.0» и поймал шквал ошибок:
[error] (assembly) deduplicate: different file contents found in the following: [error] C:Users****AppDataLocalCoursiercachev1httpsrepo1.maven.orgmaven2orgslf4jlog4j-over-slf4j1.7.25log4j-over-slf4j-1.7.25.jar:org/apache/log4j/Appender.class [error] C:Users****AppDataLocalCoursiercachev1httpsrepo1.maven.orgmaven2log4jlog4j1.2.17log4j-1.2.17.jar:org/apache/log4j/Appender.class [error] deduplicate: different file contents found in the following: [error] C:Users****AppDataLocalCoursiercachev1httpsrepo1.maven.orgmaven2orgslf4jlog4j-over-slf4j1.7.25log4j-over-slf4j-1.7.25.jar:org/apache/log4j/AppenderSkeleton.class [error] C:Users****AppDataLocalCoursiercachev1httpsrepo1.maven.orgmaven2log4jlog4j1.2.17log4j-1.2.17.jar:org/apache/log4j/AppenderSkeleton.class [error] deduplicate: different file contents found in the following: [error] C:Users****AppDataLocalCoursiercachev1httpsrepo1.maven.orgmaven2orgslf4jlog4j-over-slf4j1.7.25log4j-over-slf4j-1.7.25.jar:org/apache/log4j/BasicConfigurator.class [error] C:Users****AppDataLocalCoursiercachev1httpsrepo1.maven.orgmaven2log4jlog4j1.2.17log4j-1.2.17.jar:org/apache/log4j/BasicConfigurator.class [error] deduplicate: different file contents found in the following: [error] C:Users****AppDataLocalCoursiercachev1httpsrepo1.maven.orgmaven2orgslf4jlog4j-over-slf4j1.7.25log4j-over-slf4j-1.7.25.jar:org/apache/log4j/Category.class [error] C:Users****AppDataLocalCoursiercachev1httpsrepo1.maven.orgmaven2log4jlog4j1.2.17log4j-1.2.17.jar:org/apache/log4j/Category.class
Как это можно исправить?
Я пытался это сделать
"org.apache.zookeeper" % "zookeeper" % "3.7.0" exclude("org.slf4j", "slf4j-log4j12") exclude("log4j", "log4j")
, но это не помогло…