Re: BUG #1172: JDBC driver fails to compile - Mailing list pgsql-bugs

From Kris Jurka
Subject Re: BUG #1172: JDBC driver fails to compile
Date
Msg-id Pine.BSO.4.56.0406171506370.16042@leary.csoft.net
Whole thread Raw
In response to BUG #1172: JDBC driver fails to compile  ("PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>)
Responses Re: BUG #1172: JDBC driver fails to compile
List pgsql-bugs
On Thu, 17 Jun 2004, PostgreSQL Bugs List wrote:

>
> The following bug has been logged online:
>
> Bug reference:      1172
> Operating system:   Fedora core release 2
> Description:        JDBC driver fails to compile
>
> Postgresql version: 7.4.3
> Java: j2sdk_1.4.2_04
> ant: 1.5.2-26
>
> JDBC driver fails to compile with error:
>
> /usr/local/src/postgresql-7.4.3/src/interfaces/jdbc/org/postgresql/jdbc3/Jd
> `org.postgresql.jdbc2.optional.PoolingDataSource.getDataSource(java.lang.St
>     [javac] bc3PoolingDataSource.java:29: error: Method ring)' was defined
> with return type `org.postgresql.jdbc2.optional.PoolingDataSource' in class
> `org.postgresql.jdbc2.optional.PoolingDataSource'.
>     [javac]        static Jdbc3PoolingDataSource getDataSource(String name)
>

This error message is pretty mangled, but I suspect you might have another
version of the driver somewhere on the classpath.  The driver will fail
to compile in this situation as it gets confused with the
different versions of the same class.

Kris Jurka

pgsql-bugs by date:

Previous
From: "PostgreSQL Bugs List"
Date:
Subject: BUG #1172: JDBC driver fails to compile
Next
From: Werner Bohl
Date:
Subject: Re: BUG #1172: JDBC driver fails to compile