我正在尝试将 Play 2.4.6 迁移到 Play 2.5.9。我正在使用这个种子模板 https://github.com/mariussoutier/play-angular-require-seed
我面临着 Evolutions 的问题。当我启动服务器时。它试图应用所有 SQL 文件 downs 然后 Ups
Play 2.5.9 似乎出了什么问题。早些时候我曾尝试迁移到 2.5.14 并且有大量的内存泄漏和线程正在创建。播放 Scala Slick 3.0 连接池问题 | Play 2.4 与 Play 2.5 的问题
我的依赖 build.sbt 文件如下所示
libraryDependencies ++= Seq(
filters,
cache,
ws,
specs2 % Test,
evolutions,
// WebJars (i.e. client-side) dependencies
"org.webjars" % "requirejs" % "2.3.2",
"org.webjars" % "underscorejs" % "1.8.3",
"org.webjars" % "jquery" % "1.12.4",
"org.webjars" % "bootstrap" % "3.3.7-1" exclude("org.webjars", "jquery"),
"org.webjars" % "angularjs" % "1.4.10" exclude("org.webjars", "jquery"),
"com.typesafe.play" %% "play-slick" % "2.0.2",
"com.typesafe.play" %% "play-slick-evolutions" % "2.0.2",
// "com.typesafe.slick" % "slick_2.11" % "3.2.0",
"com.typesafe.play" % "play-mailer_2.11" % "5.0.0",
"org.postgresql" % "postgresql" % "42.1.1",
"com.github.nscala-time" % "nscala-time_2.11" % "2.16.0",
"org.scalatest" % "scalatest_2.11" % "3.0.3",
"org.specs2" % "specs2-matcher-extra_2.11" % "3.8.9" % "test",
"org.apache.httpcomponents" % "httpcore" % "4.4.6",
"org.apache.httpcomponents" % "httpclient" % "4.5.3",
"com.amazonaws" % "aws-java-sdk-s3" % "1.11.117",
"ai.api" % "libai" % "1.4.8",
"org.apache.poi" % "poi" % "3.16",
"org.apache.poi" % "poi-ooxml" % "3.16",
"org.apache.poi" % "poi-ooxml-schemas" % "3.16",
"commons-io" % "commons-io" % "2.5"
)