Hi,
in my project I'm using Postgresql database with this dependency:
"org.postgresql" % "postgresql" % "9.4-1201-jdbc41"
It works fine, until I include another sbt (which I created and published with
`sbt clean publishLocal`) like this
"com.organisation" %% "service-name" % "1.0"
Then, I did `sbt assembly` and run project with java -cp... and it shows me:
DB failure: No driver specified and DriverManager
I suspect that assembly merging strategy did the thing by merging 2 build.sbt
files (from root project and one which is referenced in root).
BTW, I defined assembly merging strategy in root project build.sbt like this:
assemblyMergeStrategy in assembly := {
case PathList("src/main/resources", xs @ _*) => MergeStrategy.concat
case PathList("reference.conf", xs @ _*) => MergeStrategy.concat
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case x => MergeStrategy.first
}
That resolved problems with duplicated files, but this problem still exists.
I'm relatively new to SBT. Can anyone point out what could be problem?
Thanks,
Amer
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.