Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the jar file in my configuration path after following the example from postgresql/jdbc tutorial. But after I added the jar file and configured it for my reference library when I run it I am getting an error that says it can't find the source attachment for that jar file despite my retrieving that jar file from the jdbc postgres website. I have tried a couple of different configuration methods, but it the jar file and its classes have mostly already been added with the exception of a couple classes like Driver.class. Should I use a different version or is it a configuration issue? I don't believe its something in my code yet because no code error other than not finding the driver class would cause that.

I am connecting to pgadminIII to update some rows.

share|improve this question
Show the exact text of the error message. The "source attachment" shouldn't be necessary for runtime, it's only needed if you're debugging and stepping into/through PgJDBC. – Craig Ringer Dec 12 '12 at 1:54
oh ok, I see. In that case its not a big issue then because I only receive the error when I am debugging which I thought was necessary for runtime despite when I run it normally the error doesn't come up. Thanks for the clarification. – Carl Carlson Dec 12 '12 at 17:07
Is this not more of a SO question? – Cindy Williams-Jayakumar Dec 13 '12 at 5:07
up vote 0 down vote accepted

From the error message excerpt you mentioned it sounds like Eclipse is only complaining about the source attachment.

The source attachment - an archive or directory containing the source code from which a given binary jar was crated - is only required for debugging, when you're stepping into/through PgJDBC code. It is not necessary to run programs that use PgJDBC.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.