导入com.typesafe

时间:2017-05-25 11:12:05

标签: scala typesafe-activator

导入com.typesafe时面对eclipse中的以下问题,

  

错误:导入时,对象类型安全不是包com的成员   com.typesafe

simple.sbt文件包含以下内容,

name := "Simple Project"

version := "1.0"

scalaVersion := "2.11.8"

libraryDependencies += "org.apache.spark" %% "spark-core" % "2.0.2"

libraryDependencies += "com.typesafe" % "config" % "1.3.0"
libraryDependencies += "com.typesafe.sbt" % "sbt-git" % "0.8.5"

resolvers += Classpaths.typesafeResolver

addSbtPlugin("com.typesafe.startscript" % "xsbt-start-script-plugin" % "0.5.3")

enter image description here

0 个答案:

没有答案