Can't connect to mysql database with play-slick 1.0.1/slick 3.0 : configuration error

后端 未结 1 1348
名媛妹妹
名媛妹妹 2021-01-23 19:19

I\'m trying to migrate from anorm to slick, using play 2.4.2, and getting a configuration error:

play.api.Configuration$$anon$1: Configuration error[Cannot conne         


        
相关标签:
1条回答
  • 2021-01-23 19:54

    I haven't tried myself, but it looks like you are referencing the MySQLDriver class instead of the corresponding object. Put a trailing $ in it and you should be good to go:

    slick.dbs.dethcs.driver="slick.driver.MySQLDriver$"

    0 讨论(0)
提交回复
热议问题