Possible Duplicate:
Steps needed to use MySQL database with Play framework 2.0
I am trying to run the Play 2.0 framework application in IntelliJ but it is giving an error : Driver not found: [com.mysql.jdbc.Driver]. But it was running good in Eclipse.
I looked in conf file many times but couldn't get any find error on that.
db.default.driver=com.mysql.jdbc.Driver
db.default.url="jdbc:mysql://localhost/resource_planning"
db.default.user=root
db.default.pass=password
Any help is appreciated.
Here you have full recipe for configuring MySQL DB:
Just I got the answer !!
forgot to include dependency - "mysql" % "mysql-connector-java" % "5.1.18"
in Build.scala
file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With