小编use*_*652的帖子

未配置应用程序加载器

我正在运行Play 文档中描述的 Play 应用程序。

java -Dconfig.file='/home/me/production.conf' -jar target/scala-2.11/myplayapp.jar
Run Code Online (Sandbox Code Playgroud)

虽然我的库中包含果汁,但我收到以下错误:

libraryDependencies += guice
Run Code Online (Sandbox Code Playgroud)

我适当的帮助。

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)
Run Code Online (Sandbox Code Playgroud)

java sbt playframework

6
推荐指数
1
解决办法
2473
查看次数

标签 统计

java ×1

playframework ×1

sbt ×1