Play Framework Anorm & DB Not Reseolved
I'm using the Play Framework 2.2.3 for my first time and I'm having a lot of trouble importing anorm._ and api.db.DB so I can set up my SQL databases. My set-up is this: MainController.scala import play.api._ import play.api.mvc._ import play.api.db.DB import anorm._ object MainController extends Controller {...} application.conf # db.default.driver=com.mysql.jdbc.Driver # db.default.url="jdbc:mysql:/usr/local/path/to/database" build.sbt libraryDependencies += "mysql" % "mysql-connector-java" % "5.1.27" My first question is whether or not I'm setting up MySQL database connection correctly. The