2017-02-04 165 views
0

我嘗試安裝mapnik2geotools。我已經安裝了0.11.2 SBT,Java 7的和在建的文件需要斯卡拉2.9.1,當我在我運行了以下錯誤:SBT - 在mapnik2geotools未解決的依賴

C:\Users\Admin\Downloads\mapnik2geotools-master\mapnik2geotools-master>sbt run 
[info] Loading project definition from C:\Users\Admin\Downloads\mapnik2geotools-master\mapnik2geotools-master\project 
[info] Updating {file:/C:/Users/Admin/Downloads/mapnik2geotools-master/mapnik2geotools-master/project/}default-edb28e... 
[info] Resolving com.eed3si9n#sbt-assembly;0.7.3 ... 
[warn] module not found: com.eed3si9n#sbt-assembly;0.7.3 
[warn] ==== typesafe-ivy-releases: tried 
[warn] http://repo.typesafe.com/typesafe/ivy-releases/com.eed3si9n/sbt-assembly/scala_2.9.1/sbt_0.11.2/0.7.3/ivys/ivy.xml 
[warn] ==== local: tried 
[warn] C:\Users\Admin\.ivy2/local/com.eed3si9n/sbt-assembly/scala_2.9.1/sbt_0.11.2/0.7.3/ivys/ivy.xml 
[warn] ==== sbt-plugin-releases: tried 
[warn] http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/com.eed3si9n/sbt-assembly/scala_2.9.1/sbt_0.11.2/0.7.3/ivys/ivy.xml 
[warn] ==== public: tried 
[warn] http://repo1.maven.org/maven2/com/eed3si9n/sbt-assembly_2.9.1_0.11.2/0.7.3/sbt-assembly-0.7.3.pom 
[warn] ==== Scala-Tools Maven2 Repository: tried 
[warn] http://scala-tools.org/repo-releases/com/eed3si9n/sbt-assembly_2.9.1_0.11.2/0.7.3/sbt-assembly-0.7.3.pom 
[info] Resolving com.typesafe.sbteclipse#sbteclipse-plugin;2.0.0 ... 
[info] Resolving com.typesafe.sbteclipse#sbteclipse-core;2.0.0 ... 
[info] Resolving org.scalaz#scalaz-core_2.9.1;6.0.3 ... 
[info] Resolving org.scala-lang#scala-library;2.9.1 ... 
[info] Resolving org.scala-tools.sbt#sbt_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#main_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#actions_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#classfile_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#io_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#control_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#interface;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#logging_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#process_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#classpath_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#launcher-interface_2.9.1;0.11.2 ... 
[info] Resolving org.scala-lang#scala-compiler;2.9.1 ... 
[info] Resolving org.scala-tools.sbt#incremental-compiler_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#collections_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#api_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#persist_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbinary#sbinary_2.9.0;0.4.0 ... 
[info] Resolving org.scala-tools.sbt#compile_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#ivy_2.9.1;0.11.2 ... 
[info] Resolving org.apache.ivy#ivy;2.2.0 ... 
[info] Resolving com.jcraft#jsch;0.1.31 ... 
[info] Resolving commons-httpclient#commons-httpclient;3.1 ... 
[info] Resolving commons-logging#commons-logging;1.0.4 ... 
[info] Resolving commons-codec#commons-codec;1.2 ... 
[info] Resolving org.scala-tools.sbt#completion_2.9.1;0.11.2 ... 
[info] Resolving jline#jline;0.9.94 ... 
[info] Resolving org.scala-tools.sbt#run_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#task-system_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#tasks_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#tracking_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#cache_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#testing_2.9.1;0.11.2 ... 
[info] Resolving org.scala-tools.testing#test-interface;0.5 ... 
[info] Resolving org.scala-tools.sbt#compiler-interface;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#precompiled-2_8_1;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#precompiled-2_8_0;0.11.2 ... 
[info] Resolving org.scala-tools.sbt#precompiled-2_9_0;0.11.2 ... 
[info] downloading http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbteclipse/sbteclipse-plugin/scala_2.9.1/sbt_0.11.2/2.0.0/jars/sbteclipse-plugin.jar ... 
[info] [SUCCESSFUL ] com.typesafe.sbteclipse#sbteclipse-plugin;2.0.0!sbteclipse-plugin.jar (1724ms) 
[info] downloading http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbteclipse/sbteclipse-core/scala_2.9.1/sbt_0.11.2/2.0.0/jars/sbteclipse-core.jar ... 
[info] [SUCCESSFUL ] com.typesafe.sbteclipse#sbteclipse-core;2.0.0!sbteclipse-core.jar (1889ms) 
[info] downloading http://repo1.maven.org/maven2/org/scalaz/scalaz-core_2.9.1/6.0.3/scalaz-core_2.9.1-6.0.3.jar ... 
[info] [SUCCESSFUL ] org.scalaz#scalaz-core_2.9.1;6.0.3!scalaz-core_2.9.1.jar (1796ms) 
[warn] :::::::::::::::::::::::::::::::::::::::::::::: 
[warn] ::   UNRESOLVED DEPENDENCIES   :: 
[warn] :::::::::::::::::::::::::::::::::::::::::::::: 
[warn] :: com.eed3si9n#sbt-assembly;0.7.3: not found 
[warn] :::::::::::::::::::::::::::::::::::::::::::::: 
[warn] 
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes. 
[warn]   com.eed3si9n:sbt-assembly:0.7.3 (sbtVersion=0.11.2, scalaVersion=2.9.1) 
[warn] 
[error] {file:/C:/Users/Admin/Downloads/mapnik2geotools-master/mapnik2geotools-master/project/}default-edb28e/*:update: sbt.ResolveException: unresolved dependency: com.eed3si9n#sbt-assembly;0.7.3: not found 

我做更新,並與同樣的錯誤編譯。你能幫我修好嗎?由於

回答

1

您不必在自己手動安裝任何東西。 SBT應根據需要下載並安裝所有內容。遺憾的是,我沒有發現Scala Scala 2.9.1 on the Mavencom.eed3si9n#sbt-assembly的任何版本。

你提到的版本是很老(斯卡拉2.9.1已於2011年全年開放),所以你可能有一點很難爲他們尋找。

由於sbt-assembly插件的用途是構建Fat Jar,因此您可能可以從項目中刪除此插件並仍然可以運行該插件。

您也可以升級到較新版本的sbt-assembly,但這可能需要您使用更新的SBT版本,這可能需要對構建文件進行一些其他更改。