I'm attempting to build a runnable jar from source built using akka/play/java.
I'm running into a bunch of issues and haven't been able to solve any.
I've tried using sbt dist
which builds out the sh and bat. However the bat can't actually be run and the sh gives an Error: Could not find or load main class play.core.server.ProdServerStart
error.
I also attempted to run it using java -cp "target\universal\untitled1-1.0\lib\*" play.core.server.ProdServerStart
which results in java.io.IOException: resource not found on classpath: application.conf
Then I've also tried using sbt assemby
which throws com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'play.application'
I'm completely lost on how to actually build a runnable jar on Windows for play.
Any guidance would be appreciated.