From: | Dave Cramer <davecramer(at)postgres(dot)rocks> |
---|---|
To: | Raivo Rebane <raivore55(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Right version of jdbc |
Date: | 2023-09-27 09:43:34 |
Message-ID: | CADK3HHJYTNhi-Sa4by0PNLVDhHLiGwVKOQynCqQJjhVXjPuwig@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
First of all please use reply all so that everyone sees the answers.
Not sure since PgObject is certainly in the jdbc jar.
pgjdbc/pgjdbc/src/main/java/org/postgresql/util/PGobject.java
at 5709a20fbef453749d2394e11502527e4a3ab5bb · pgjdbc/pgjdbc (github.com)
<https://github.com/pgjdbc/pgjdbc/blob/5709a20fbef453749d2394e11502527e4a3ab5bb/pgjdbc/src/main/java/org/postgresql/util/PGobject.java#L19>
I suggest at this point you provide a test project on github that you can
share.
There is something wrong with the classpath
Dave Cramer
www.postgres.rocks
On Wed, 27 Sept 2023 at 01:52, Raivo Rebane <raivore55(at)gmail(dot)com> wrote:
> Hi,
> Thanks for response, but if I using following dependencies :
>
> <dependencies>
>
> <dependency>
>
> <groupId>net.postgis</groupId>
>
> <artifactId>postgis-jdbc</artifactId>
>
> <version>2021.1.0</version>
>
> </dependency>
>
> <dependency>
>
> <groupId>org.postgresql</groupId>
>
> <artifactId>postgresql</artifactId>
>
> <version>42.6.0</version> <!-- Kasuta kõige uuemat versiooni -->
>
> </dependency>
>
> </dependencies>
>
> I have error :
>
> The type org.postgresql.util.PGobject cannot be resolved. It is indirectly
> referenced from required type org.postgis.PGgeometry
>
>
> What is wrong with me ?
>
>
> Raivo
>
From | Date | Subject | |
---|---|---|---|
Next Message | Somnath Som | 2023-09-27 09:53:07 | Regarding PostgreSQL 15.4 |
Previous Message | dld | 2023-09-27 08:51:37 | Re: Early binding of CURRENT_SCHEMA (Was: CREATE FUNCTION ... SEARCH {, DEFAULT | SYSTEM | SESSION }) |