Play Framework 2.4.3 – Problems Building Example Templates in Activator


If you have downloaded the Play Framework version 2.4.3 code lately and are “playing” with Activator, you will probably notice that most of the examples will not build successfully.  The error you encounter will look something like this:

(*:update) sbt.ResolveException: unresolved dependency:;2.3.6: not found

Here is the fix that worked for me:

You need to load a more current sbt-plugin.  Wish there was a cleaner way to demo Play as I do like it a lot so far.  Go to “code” and select Project.  Select the “plugins.sbt” file and edit the line under “//The Play Plugin” to read:

addSbtPlugin("" % "sbt-plugin" % "2.3.9")

Then, in the same directory level, either edit the “play-fork-run.sbt” file to match changing the version number to 2.3.9 or you may even be able to delete it as it usually will be rebuilt when the project is built again.  I would suggest editing it as I’ve seen a few projects that die during the build because they are looking for it.  Not sure why as I am not an expert on this build system yet 🙂  At this point, if you have activator set to a”compile on file change” it should already be working.  If not, click compile and everything should work for you now. Have fun with play!

One thought on “Play Framework 2.4.3 – Problems Building Example Templates in Activator”

Leave a Reply

Your email address will not be published. Required fields are marked *