我的build.sbt
文件是:
scalaVersion := "2.10.3"
libraryDependencies += "org.apache.spark" % "spark-core_2.10" % "1.4.0"
libraryDependencies += "org.apache.spark" % "spark-mllib_2.10" % "1.4.0"
libraryDependencies += "com.databricks" % "spark-csv_2.10" % "1.1.0"
libraryDependencies += "com.amazonaws" % "aws-java-sdk" % "1.10.5.1"
libraryDependencies += "org.apache.hadoop" % "hadoop-client" % "2.2.0"
libraryDependencies += "org.apache.hadoop" % "hadoop-hdfs" % "2.2.0"
dependencyOverrides ++= Set(
"com.fasterxml.jackson.core" % "jackson-databind" % "2.4.4"
)
在运行sbt run
时,我明白了:
java.lang.SecurityException:class “javax.servlet.FilterRegistration”的签名者信息不匹配 同一包中其他类的签名者信息