Postgres JDBC error in Eclipse

Asked

Viewed 89 times

0

I’m trying to do a project to test the connection in the Postgresql database (I’m using version 9.2) in Eclipse (Mars version). I am using postgresql-9.2-1004.jdbc3 and adding it to the Build Path. However, when trying to run the class to test the connection, a match message appears and asks to choose a class that is in the JDBC package and the test class. When trying to run the test class, tells that the connection attempt failed. How should I proceed?

  • Consider including the code you’re using to make the connection

  • 1

    Consider posting the error stacktrace as well, it will make it easier for us to help you.

  • Include the connection class and stacktrace here.

  • Add the error stacktrace in addition to the structure of your project.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.