score:2
Accepted answer
it looks like your postgres jars are not on your class path. try:
$ scala -classpath postgres.jar
where postgres.jar
is hypothetical example.
you may need to add all jars using something like pathtopostgreslib/*.jar
while starting your repl session.
Source: stackoverflow.com
Related Query
- How can I get postgres JDBC working in Scala Mac OS?
- how can we query data in postgres and oracle in scala jdbc using single getconnection?
- How can I easily get a Scala case class's name?
- How to use Scala in IntelliJ IDEA (or: why is it so difficult to get a working IDE for Scala)?
- How can I get Intellij to stop underlining my scala code?
- How to get logging working in scala unit tests with testng, slf4s, and logback
- How can I get automatic dependency resolution in my scala scripts?
- How to get Scala imports working in IntelliJ IDEA with the Play framework?
- How can I get Scala ToolBox to see REPL definitions?
- How can I get the actual object referred to by Scala 2.10 reflection?
- I have a Scala List, how can I get a TraversableOnce?
- How can I get XStream to output Scala lists nicely? Can I write a custom converter?
- How can I get a sum of arrays of tuples in scala
- How can I get the functionality of the Scala REPL :type command in my Scala program
- How can I get random data generated for scala case classes with the ability to "change some values" for unit testing?
- How can I get rid of the brackets in a scala DSL expression?
- How can I get scala to work in the command line?
- How can I reflectively get a field on a Scala object from Java?
- How can I connect a scala play application to postgres database
- Scala macros: How can I get a list of the objects within a given package that inherit some trait?
- How can I get Scala Named and Default arguments to work with macros
- How to get IntelliJ IDEA 14 working with Scala on Android (SBT)
- how can i get arround reassignement to val , binary search tree scala
- How can I use Scala reflection to get only primary constructor parameters?
- How can I get Fibonacci(n) in an efficient way with Scala Actor?
- How to get sbteclipse working with Scala 2.9
- How can I get rid of the extra space in a Scala Scrollpane table?
- How can I get the Scala compiler to infer the type of this function?
- How can I use scopt in Scala to get all of the remaining arguments?
- Scala class constructor, how can I get the names and types of the constructor?
More Query from same tag
- Scala filter on two conditions
- Error writing parquet file in S3 with Apache Spark in Scala
- How can I deserialize from JSON with Scala using *non-case* classes?
- Add column while maintaining correlation of the existing columns in Apache Spark Scala
- (Scala) How to create large hardcoded collections (~2000 objects)
- How can I programmatically create a validation contract at compile-time?
- Akka ask work around the ignore of the sender
- Why does classOf[T] not work in my object?
- What is the formal difference in Scala between braces and parentheses, and when should they be used?
- Is it possible to call a scala macro from generic scala code?
- Scala: using recursion for an interest rate calculator
- detecting connection lost in spark streaming
- Decoding the below Scala code
- Implicit map, or something like that
- How do you match with guards in Racket?
- Why can't I create an array of generic type?
- How to convert RowMatrix to BDM (Breeze Dense Matrix) and more questions
- What's the rationale behind curried functions in Scala?
- Pass opt arguments in an application executed as a .jar through spark-submit --class and use the existing context
- elasticsearch-spark connector size limit parameter is ignored in query
- Scala Cats: How do I convert a List[ValidatedNel[E, A]] to Ior[NonEmptyList[E], List[A]]?
- Scala's position variance
- Passing JSON String to Google Charts in Play Framework controller to Scala view is not recognized nor do the charts display
- Dynamically find the optimal number of Actors
- Scala JSON Writes with calculated values
- Generate a DAG from a poset using stricly functional programming
- Pass variable as attribute to XML body
- Silently dropping a nullable database column with slick
- How are Scala's traits not really traits?
- Getting type class instance through a parent type