我正在尝试为我的项目添加play-slick,当我刷新我的sbt我没有错误但是在编译时它打破了这个错误:java.lang.ClassNotFoundException: play.core.server.NettyServer
。我已尝试在互联网上找到多个修复程序,但它们都没有为我工作。这是我的承诺:
name := "TwoKingsSite"
version := "1.0-SNAPSHOT"
lazy val `twokingssite` = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.11.6"
libraryDependencies ++= Seq(
cache ,
ws,
filters,
"mysql" % "mysql-connector-java" % "5.1.34",
"com.typesafe.play" %% "play-slick" % "1.1.0",
"com.typesafe.play" %% "play-slick-evolutions" % "1.1.0")
resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"