分享

scala 使用sbt报错

Wyy_Ck 发表于 2017-2-16 15:09:46 [显示全部楼层] 只看大图 回帖奖励 阅读模式 关闭右栏 2 19340
[mw_shl_code=shell,true]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/o ... 1.11/jansi-1.11.pom

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

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

        ==== typesafe-ivy-releases: tried

          https://repo.typesafe.com/typesa ... i/1.11/ivys/ivy.xml

        ==== sbt-ivy-snapshots: tried

          https://repo.scala-sbt.org/scala ... i/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[/mw_shl_code]

已有(2)人评论

跳转到指定楼层
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都找不到
1.jpg

2.jpg

https://dl.bintray.com/sbt/ivy-s ... ce.jansi/jansi/1.11
上面是找不到的
下面这个倒是可以找到。
https://repo1.maven.org/maven2/o ... 1.11/jansi-1.11.pom
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条