Reputation: 765
I have Play 2.3.7 installed, and I have the activator
command working with other play apps I have created locally.
However, when I try to clone the Play Framework from github and run one of the 2.3.x sample applications , the activator
command fails with a Null Pointer Exception. Similarly, if I try to import the project into IntelliJ and build from the .sbt file, I get the same error:
Is there something I need to change in the build.sbt
file to get it to load properly? I'm guessing that it is something very simple that I am overlooking.
TL;DR: How do I run a Play 2.3.x sample application when cloned from github?
Upvotes: 0
Views: 406
Reputation: 7919
Specify the exact play version that you have in plugins.sbt
From
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % System.getProperty("play.version"))
To(Assuming you are using play 2.3.1)
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.1")
Then activator clean
then run again.
Upvotes: 2