【发布时间】:2018-12-07 09:05:25
【问题描述】:
我正在运行 Play documentation 中所述的 Play 应用程序。
java -Dconfig.file='/home/me/production.conf' -jar target/scala-2.11/myplayapp.jar
虽然我的库中包含果汁,但我收到以下错误:
libraryDependencies += guice
我会为此提供适当的帮助。
java.lang.RuntimeException: No application loader is configured. Please configure an application loader either using the play.application.loader configuration property, or by depending on a module that configures one. You can add the Guice support module by adding "libraryDependencies += guice" to your build.sbt.
at scala.sys.package$.error(package.scala:27)
【问题讨论】:
-
查看this的帖子有没有解决办法
标签: java playframework sbt