未解决的依赖:org.scala-tools.sbinary#sbinary_2.9.0; 0.4.0:
发布时间:2020-12-14 04:46:52 所属栏目:百科 来源:网络整理
导读:我正在尝试一个名为 junto的工具包来进行标签传播. 当我编译它时,它会下载Scala. 但是,在此过程中出现了未解决的依赖关系. 详细信息如下: :: problems summary :::::: WARNINGSmodule not found: org.scala-tools.sbinary#sbinary_2.9.0;0.4.0==== local: t
我正在尝试一个名为
junto的工具包来进行标签传播.
当我编译它时,它会下载Scala. 但是,在此过程中出现了未解决的依赖关系. 详细信息如下: :: problems summary :: :::: WARNINGS module not found: org.scala-tools.sbinary#sbinary_2.9.0;0.4.0 ==== local: tried /root/.ivy2/local/org.scala-tools.sbinary/sbinary_2.9.0/0.4.0/ivys/ivy.xml ==== typesafe-ivy-releases: tried repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbinary/sbinary_2.9.0/0.4.0/ivys/ivy.xml ==== Maven Central: tried repo1.maven.org/maven2/org/scala-tools/sbinary/sbinary_2.9.0/0.4.0/sbinary_2.9.0-0.4.0.pom ==== sonatype-snapshots: tried oss.sonatype.org/content/repositories/snapshots/org/scala-tools/sbinary/sbinary_2.9.0/0.4.0/sbinary_2.9.0-0.4.0.pom :::::::::::::::::::::::::::::::::::::::::::::: :: UNRESOLVED DEPENDENCIES :: :::::::::::::::::::::::::::::::::::::::::::::: :: org.scala-tools.sbinary#sbinary_2.9.0;0.4.0: not found :::::::::::::::::::::::::::::::::::::::::::::: :::: ERRORS Server access Error: Connection timed out url=https://oss.sonatype.org/content/repositories/snapshots/org/sonatype/oss/oss-parent/7/oss-parent-7.jar SERVER ERROR: Service Unavailable url=http://repo1.maven.org/maven2/org/scala-tools/sbinary/sbinary_2.9.0/0.4.0/sbinary_2.9.0-0.4.0.pom Server access Error: Connection timed out url=https://oss.sonatype.org/content/repositories/snapshots/org/scala-tools/sbinary/sbinary_2.9.0/0.4.0/sbinary_2.9.0-0.4.0.pom Server access Error: Connection timed out url=https://oss.sonatype.org/content/repositories/snapshots/org/apache/apache/7/apache-7.jar Server access Error: Connection timed out url=https://oss.sonatype.org/content/repositories/snapshots/org/sonatype/oss/oss-parent/6/oss-parent-6.jar :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS unresolved dependency: org.scala-tools.sbinary#sbinary_2.9.0;0.4.0: not found Error during sbt execution: Error retrieving required libraries (see /root/.sbt/boot/update.log for complete log) Error: Could not retrieve sbt 0.12.0 解决方法
将jar下载为非托管依赖项:
http://mvnrepository.com/artifact/org.scala-tools.sbinary/sbinary_2.9.0/0.4.0 并将其放在项目目录中的lib_unmanaged文件夹下. 或添加包含它的存储库:http://repo1.maven.org/maven2/ 添加到pom.xml之间: <repositories> ... </repositories> 下列: <repository> <id>central</id> <name>Maven Central</name> <url>http://repo1.maven.org/maven2</url> </repository> 要么: <repository> <id>mvnrepository</id> <name>mvnrepository</name> <url>http://mvnrepository.com/artifact</url> </repository> 如果您使用的是sbt,则应在build.sbt中添加以下内容: resolvers += "mvnrepository" at "http://mvnrepository.com/artifact/" 要么: resolvers += "central" at "http://repo1.maven.org/maven2/" (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |