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
– Bruno César
Consider posting the error stacktrace as well, it will make it easier for us to help you.
– Ricardo Rodrigues de Faria
Include the connection class and stacktrace here.
– guiandmag
Add the error stacktrace in addition to the structure of your project.
– Marcos Sousa