Wyy_Ck 发表于 2017-2-16 15:09:46

scala 使用sbt报错

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Getting org.fusesource.jansi jansi 1.11 ...

:: problems summary ::
:::: WARNINGS
                module not found: org.fusesource.jansi#jansi;1.11

      ==== local: tried

          C:\Users\c00347154\.ivy2\local\org.fusesource.jansi\jansi\1.11\ivys\ivy.xml

          -- artifact org.fusesource.jansi#jansi;1.11!jansi.jar:

          C:\Users\c00347154\.ivy2\local\org.fusesource.jansi\jansi\1.11\jars\jansi.jar

      ==== Maven Central: tried

          https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom

          -- artifact org.fusesource.jansi#jansi;1.11!jansi.jar:

          https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar

      ==== typesafe-ivy-releases: tried

          https://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml

      ==== sbt-ivy-snapshots: tried

          https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml

                ::::::::::::::::::::::::::::::::::::::::::::::

                ::          UNRESOLVED DEPENDENCIES         ::

                ::::::::::::::::::::::::::::::::::::::::::::::

                :: org.fusesource.jansi#jansi;1.11: not found

                ::::::::::::::::::::::::::::::::::::::::::::::


:::: ERRORS
      Server access Error: Connection timed out: connect url=https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom

      Server access Error: Connection timed out: connect url=https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar

      Server access Error: Connection timed out: connect url=https://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/i

      Server access Error: Connection timed out: connect url=https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.fusesource.jansi/jansi/1.11


:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.fusesource.jansi#jansi;1.11: not found
Error during sbt execution: Error retrieving required libraries
(see C:\Users\c00347154\.sbt\boot\update.log for complete log)
Error: Could not retrieve jansi 1.11

arsenduan 发表于 2017-2-16 15:43:56

jdk版本的问题,可以换成1.7
楼主在做什么事情

qcbb001 发表于 2017-2-16 17:02:50

arsenduan 发表于 2017-2-16 15:43
jdk版本的问题,可以换成1.7
楼主在做什么事情

maven配置有问题,一些url都找不到




https://dl.bintray.com/sbt/ivy-snapshots/org.fusesource.jansi/jansi/1.11
上面是找不到的
下面这个倒是可以找到。
https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom
页: [1]
查看完整版本: scala 使用sbt报错