Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/codeigniter/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
SBT不';不要使用解析器?_Sbt - Fatal编程技术网

SBT不';不要使用解析器?

SBT不';不要使用解析器?,sbt,Sbt,我使用SBT0.13.1 我在plugins.sbt中有以下解析器: resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/" resolvers += "Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/" 以及以下库依赖项: "org.squeryl" % "squeryl

我使用SBT0.13.1

我在
plugins.sbt
中有以下
解析器

resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"

resolvers += "Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"
以及以下库依赖项:

"org.squeryl" % "squeryl2_10" % "0.9.6-SNAPSHOT"
SBT似乎没有使用快照解析器,因为我可以看到工件存在于中


我做错了什么?

问题是您已将解析器添加到
项目
子目录中的
plugins.sbt
,但Squeryl不是插件或插件的依赖项,实际上应该添加到项目主目录中的
plugins.sbt
文件中。通常是
build.sbt

[warn]  module not found: org.squeryl#squeryl2_10;0.9.6-SNAPSHOT
[warn] ==== local: tried
[warn]   /home/max/.ivy2/local/org.squeryl/squeryl2_10/0.9.6-SNAPSHOT/ivys/ivy.xml
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/org/squeryl/squeryl2_10/0.9.6-SNAPSHOT/squeryl2_10-0.9.6-SNAPSHOT.pom
[warn] ==== Typesafe Releases Repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/org/squeryl/squeryl2_10/0.9.6-SNAPSHOT/squeryl2_10-0.9.6-SNAPSHOT.pom
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.squeryl#squeryl2_10;0.9.6-SNAPSHOT: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::