Skip site navigation (1) Skip section navigation (2)

Re: Postgresql installation Errors

From: Kris Jurka <books(at)ejurka(dot)com>
To: Christine Warren <cwarren(at)library(dot)uwi(dot)tt>,Nigel Pegus <npegus(at)library(dot)uwi(dot)tt>
Cc: "'pgsql-jdbc(at)postgresql(dot)org'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Postgresql installation Errors
Date: 2004-12-16 19:17:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc

On Thu, 16 Dec 2004, Christine Warren wrote:

> We are currently trying to set up postgresql 7.4.3 on linux Enterprise
> Server for use on a software platform called DSpace, as such we have also
> installed Java, Apache-Ant and Tomcat 5.0.19 which are required for use with
> Dspace. We have been unable to get past the gmake command in the
> installation of Pgsql. We have retyped the error we encounter below
> [javac]
> /usr/dspace/postgresl-7.4.3/src/interfaces/jdbc/org/postgresql/jdbc3/Jdbc3Ca
> error: Invalid checked exception class
> 'java.sql.SQLExcception' in 'throws' clause.  The exception must be a
> subclass of an exception thrown by
> 'org.postgresql.jdbc1.AbstractJdbc1Statment.createRefCursorResultSet(
> ng.String)' from calss 'org.postgresql.jdbc1.AbstractJdbcStatement.'
> 	[javac]		public PGRefCursorResultSet createRefCursorResultSet
> (String cursorName) throws SqlException
> 	[javac]
> 	[javac]	4 errors

This is clearly not the original error message, it looks like you've 
retyped it adding numerous errors.  This makes it difficult to determine 
what the real problem is.  I believe the problem is that another version 
of the JDBC driver is in your classpath or is otherwise available to 
the compiler which is causing the error.  Please check what existing jar 
files you have installed.

Also note that you do not need to build the driver and you can simply 
download a pre-built version from

Kris Jurka

In response to

pgsql-jdbc by date

Next:From: Xavier PoinsardDate: 2004-12-16 23:07:18
Subject: Patch to reduce the number of messages to translate
Previous:From: tonyDate: 2004-12-16 15:04:07
Subject: connecting from OOo mac

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group