Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using SORM with Play Framework 2.3.8

I am going through the Video introduction to Play Framework and, but I am stuck creating a DB object with SORM because the import fails.

I tried to add the dependencies in plugins.sbt, and relaunched activator, but it seems that activator cannot find the dependencies and I get and I get an unresolved error:

addSbtPlugin("org.sorm-framework" % "sorm" % "0.3.14")
addSbtPlugin("com.h2database" % "h2" % "1.4.181")

I got the versions from the Yvis repository. I also tried other versions with no better luck.

like image 816
Daniel Avatar asked Feb 27 '15 07:02

Daniel


1 Answers

should be add as

libraryDependencies += "org.sorm-framework" % "sorm" % "0.3.16" 

in build.sbt,

but not as

addSbtPlugin("org.sorm-framework" % "sorm" % "0.3.14")

in project/plugins.sbt

like image 155
jilen Avatar answered Sep 20 '22 04:09

jilen