我试图在sbt中下载配置单元jar,我得到以下错误。有人遇到过这个吗?
请让我知道什么是正确的配置单元版本,我需要创建一个genericudf类
这是我的sbt文件
name := "Test"
version := "0.1"
scalaVersion := "2.11.8"
libraryDependencies += "org.apache.hive" % "hive-exec" % "1.2.1"
下面是我收到的错误消息
Error:Error while importing SBT project:<br/>...<br/><pre>[error] at sbt.internal.LibraryManagement$.cachedUpdate(LibraryManagement.scala:118)
[error] at sbt.Classpaths$.$anonfun$updateTask$5(Defaults.scala:2353)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:44)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:42)
[error] at sbt.std.Transform$$anon$4.work(System.scala:64)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:257)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error] at sbt.Execute.work(Execute.scala:266)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:257)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:167)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:32)
[error] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error] at java.lang.Thread.run(Thread.java:748)
[error] (*:update) sbt.librarymanagement.ResolveException: unresolved dependency: org.pentaho#pentaho-aggdesigner-algorithm;5.1.5-jhyde: not found
[error] (*:ssExtractDependencies) sbt.librarymanagement.ResolveException: unresolved dependency: org.pentaho#pentaho-aggdesigner-algorithm;5.1.5-jhyde: not found
[error] Total time: 20 s, completed Oct 11, 2017 4:27:03 PM</pre><br/>See complete log in <a href="file:/Users/spachari/Library/Logs/IdeaIC2017.2/sbt.last.log">file:/Users/spachari/Library/Logs/IdeaIC2017.2/sbt.last.log</a>
1条答案
按热度按时间nc1teljy1#
请尝试使用下面的sbt,它应该有帮助。
name:=“test”version:=“0.1”scalaversion:=“2.11.8”librarydependencies++=seq(“org.apache.hive”%”“hive exec”%”“1.2.1”).map(297; exclude(“org.pentaho”,“pentaho aggdesigner algorithm”))