凿子工具安装;无法找到帐户

时间:2014-11-20 00:41:24

标签: chisel scct riscv

我正在尝试使用Chisel。按照Chisel网页上的说明,我安装了scala 2.11和sbt,复制了build.sbt和Hello World示例。但是,我无法运行该示例。我收到了以下错误。

tariq@ubuntu:~/work/scala-test$ sbt run
[info] Set current project to scala-test (in build file:/home/tariq/work/scala-test/)
[info] Updating {file:/home/tariq/work/scala-test/}scala-test...
[info] Resolving com.github.scct#sbt-scct;0.2.1 ...
[warn] Host repo1.maven.org not found. url=https://repo1.maven.org/maven2/com/github/scct/sbt-scct_2.11_0.13/0.2.1/sbt-scct-0.2.1.pom
[info] You probably access the destination server through a proxy server that is not well configured.
[warn]  module not found: com.github.scct#sbt-scct;0.2.1
[warn] ==== local: tried

<snip>

info] Resolving jline#jline;2.12 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.github.scct#sbt-scct;0.2.1: not found
[warn]  :: edu.berkeley.cs#chisel_2.11;latest.release: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn] 
[warn]  Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn]      com.github.scct:sbt-scct:0.2.1 (sbtVersion=0.13, scalaVersion=2.11)

<snip>

    at java.lang.Thread.run(Thread.java:745)
[error] (*:update) sbt.ResolveException: unresolved dependency: com.github.scct#sbt-scct;0.2.1: not found
[error] unresolved dependency: edu.berkeley.cs#chisel_2.11;latest.release: not found
[error] Total time: 23 s, completed Nov 19, 2014 4:26:38 PM

1 个答案:

答案 0 :(得分:1)

看来sbt无法访问互联网(第4条[info]行指的是此)。 sbt需要能够访问互联网才能下载软件包。

你是代理人吗?你是在VM中运行吗?