Open mrwillis opened 6 years ago
I'm having the same issue
The plugin runs as part of the build, not your application. libraryDependencies
in your top build.sbt
adds it to your application. You probably need to add the libraryDependencies
in plugins.sbt
.
The plugin runs as part of the build, not your application.
libraryDependencies
in your topbuild.sbt
adds it to your application. You probably need to add thelibraryDependencies
inplugins.sbt
.
thank you very much , i am a new scala learner, this problem cost me 60 hours, and you solved my problem . can you tell me how do you know this, so greate. if i did't see your post, i will never solve this problem , so terrible!
@extirpate read https://www.scala-sbt.org/1.x/docs/Organizing-Build.html, and google for other SBT resources
Hi,
I have a very simple setup trying to use this plugin. Here is part of my build.sbt file:
and above I have
and in my plugins.sbt I have
but for some reason, when I run
slickCodegen
, I'm getting that it can't findorg.postgresql.Driver
. This is very odd. If I try to doimport org.postgresql.Driver
at the top ofbuild.sbt
, it doesn't seem to be able to find it. However, I am using this driver in the rest of my app withplay-slick
, so I'm not sure what it going on.Any guidance would be appreciated.
Thanks