You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using PostgreSQL. Driver: postgresql-42.0.0.jar. I built by project using SBT "hello" and working my way from there. Also using sbt-eclipse to create Eclipse project definitions (added system properties to eclipse.ini, added the driver's jar file to my system's PATH variable for it to be able to find the PostgreSQL driver). I'm trying to use Eclipse to run my project, but the same happens using SBT from console. I'm quite the noob, but I've tried collecting as much info as possible.
The database is hosted locally and is called tut_sqltyped1, with a schema named public. Doesn't matter if I omit the schema property or not.
SBT build:
import Dependencies._
lazy val root = (project in file(".")).
settings(
inThisBuild(List(
organization := "dk.stldev.tut",
scalaVersion := "2.11.8",
version := "0.1.0-SNAPSHOT",
crossScalaVersions := Seq("2.12.2", "2.11.0")
)),
name := "Hello",
libraryDependencies += scalaTest % Test,
libraryDependencies += "fi.reaktor" % "sqltyped_2.11" % "0.4.3"
)
Using PostgreSQL. Driver: postgresql-42.0.0.jar. I built by project using SBT "hello" and working my way from there. Also using sbt-eclipse to create Eclipse project definitions (added system properties to eclipse.ini, added the driver's jar file to my system's PATH variable for it to be able to find the PostgreSQL driver). I'm trying to use Eclipse to run my project, but the same happens using SBT from console. I'm quite the noob, but I've tried collecting as much info as possible.
The database is hosted locally and is called tut_sqltyped1, with a schema named public. Doesn't matter if I omit the schema property or not.
SBT build:
import Dependencies._
lazy val root = (project in file(".")).
settings(
inThisBuild(List(
organization := "dk.stldev.tut",
scalaVersion := "2.11.8",
version := "0.1.0-SNAPSHOT",
crossScalaVersions := Seq("2.12.2", "2.11.0")
)),
name := "Hello",
libraryDependencies += scalaTest % Test,
libraryDependencies += "fi.reaktor" % "sqltyped_2.11" % "0.4.3"
)
initialize ~= { _ =>
System.setProperty("sqltyped.url", "jdbc:postgresql://localhost:5432/tut_sqltyped1")
System.setProperty("sqltyped.driver", "org.postgresql.Driver")
System.setProperty("sqltyped.username", "postgres")
System.setProperty("sqltyped.password", "todoroot")
}
The text was updated successfully, but these errors were encountered: