[prev in list] [next in list] [prev in thread] [next in thread]
List: pgsql-bugs
Subject: Re: [BUGS] Fwd: Rocks 6.1.1 with JDBC connection - What should be wrong?
From: John R Pierce <pierce () hogranch ! com>
Date: 2014-11-26 17:16:48
Message-ID: 54760B00.30101 () hogranch ! com
[Download RAW message or body]
On 11/25/2014 7:18 AM, Luciana Campos wrote:
> I am having trouble configuring JDBC4 with Rocks 6.1.1.
> It's possible to connect database with 'psql', but using the JDBC
> connection, I got this error:
>
> Exception in thread "main"
> java.lang.NoClassDefFoundError: org/postgresql/jdbc4/Jdbc4Connection
> .....
> postgresql-9.2-1004.jdbc41.jar
thats not the latest driver,
http://jdbc.postgresql.org/download/postgresql-9.3-1102.jdbc41.jar is.
ignore the 9.3 vs 9.2, they are the same thing. 1104 is the current
version.
--
john r pierce 37N 122W
somewhere on the middle of the left coast
[Attachment #3 (text/html)]
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 11/25/2014 7:18 AM, Luciana Campos
wrote:<br>
</div>
<blockquote
cite="mid:CAHvPryDq9sZF48VbCKt-xzJ3ZhVZtBNbJHVf6u9ocAKR39Z6cw@mail.gmail.com"
type="cite">
<div><span
style="font-family:sans-serif;font-size:13px;line-height:18px"><font
color="#000000">I am having trouble configuring JDBC4 with \
</font></span>Rocks 6.1.1.</div>
<div>It's possible to connect database with 'psql', but using the
JDBC connection, I got this error:</div>
<div><br>
</div>
<div>
<div>Exception in thread "main" </div>
<div>java.lang.NoClassDefFoundError:
org/postgresql/jdbc4/Jdbc4Connection<br>
.....<br>
</div>
</div>
</blockquote>
<blockquote
cite="mid:CAHvPryDq9sZF48VbCKt-xzJ3ZhVZtBNbJHVf6u9ocAKR39Z6cw@mail.gmail.com"
type="cite">
<div>postgresql-9.2-1004.jdbc41.jar</div>
</blockquote>
<br>
thats not the latest driver,
<a class="moz-txt-link-freetext" \
href="http://jdbc.postgresql.org/download/postgresql-9.3-1102.jdbc41.jar">http://jdbc.postgresql.org/download/postgresql-9.3-1102.jdbc41.jar</a>
is. ignore the 9.3 vs 9.2, they are the same thing. 1104 is the
current version.<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
john r pierce 37N 122W
somewhere on the middle of the left coast</pre>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic