首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >凿工具安装;找不到scct

凿工具安装;找不到scct
EN

Stack Overflow用户
提问于 2014-11-20 08:41:24
回答 1查看 208关注 0票数 0

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

代码语言:javascript
复制
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
EN

回答 1

Stack Overflow用户

发布于 2014-11-22 03:23:46

看起来sbt不能连接到互联网(第四个信息行指的是这个)。sbt需要能够访问互联网才能下载软件包。

你在代理背后吗?您是否在VM中运行此程序?

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27029775

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档