我想为我的sbt项目导入一个库。
存储库的Maven存储库:https://mvnrepository.com/artifact/avulanov/scalable-deeplearning/1.0.0
我尝试了(以及许多其他解析器):
resolvers += "Maven Repository" at "https://mvnrepository.com/"
libraryDependencies += "avulanov" % "scalable-deeplearning" % "1.0.0"
问题:
有人可以解释如何导入该库吗?
答案 0 :(得分:0)
我只是想找到如何导入该库。
像khmarbaise说:
mvnrepository不是可用的Maven存储库,它只是一个搜索引擎
实际上正确的存储库是“ https://dl.bintray.com/spark-packages/maven” (如“存储库”列中的Maven页面中所述)
解决方案:
resolvers += "Spark Packages Repository" at "https://dl.bintray.com/spark-packages/maven/"
libraryDependencies += "avulanov" % "scalable-deeplearning" % "1.0.0"