playframework 2.4 - I cannot use ebean in play framework -


i'm using play 2.4. got compilation error: package "com.avaje.ebean" not exist. need help, appreciate!

play's ebean external project. need add dependency in project/plugins.sbt file:

addsbtplugin("com.typesafe.sbt" % "sbt-play-ebean" % "1.0.0") 

in build.sbt file, enable plugin:

lazy val myproject = (project in file(".")).enableplugins(playjava, playebean) 

all information , more available in 2.4 migration guide.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -