A binding to play.api.db.DBApi was already configured, evolutions and injector error with play-slick

前端 未结 2 607
半阙折子戏
半阙折子戏 2021-01-01 10:37

I want to introduce slick to my play project, so I add the following dependencies to build.sbt:

\"com.typesafe.play\"          %% \"play-slick\"                      


        
2条回答
  •  [愿得一人]
    2021-01-01 11:10

    You have probably added dependency to jdbc which doesn't make sense if you use slick for it. Remove it and it will work.

提交回复
热议问题