Re: Right version of jdbc - Mailing list pgsql-general

From Raivo Rebane
Subject Re: Right version of jdbc
Date
Msg-id CAMH5fpu+CC+wxoXOPi2V5bqJ0baDN0w+=emGYq86Grv0PF7JVw@mail.gmail.com
Whole thread Raw
In response to Re: Right version of jdbc  (Raivo Rebane <raivore55@gmail.com>)
Responses Re: Right version of jdbc
List pgsql-general
But goes worst if I am using
postgis-geometry-2021.1.0.jar

Raivo

On Fri, Sep 29, 2023 at 8:14 AM Raivo Rebane <raivore55@gmail.com> wrote:
It goes better, if I add postgis-geometry-2.5.0.jar and Eclipse founds

import org.postgis.Point;


Raivo


On Fri, Sep 29, 2023 at 7:18 AM Raivo Rebane <raivore55@gmail.com> wrote:
If I use this jar i give errors - Description Resource Path Location Type
PGgeometry cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 22 Java Problem
PGgeometry cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 46 Java Problem
PGgeometry cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 46 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 14 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 35 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 47 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 47 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 83 Java Problem
Point cannot be resolved to a type Utils.java /KatseAPIs/src/main/java/MushroomAPIs line 9 Java Problem
Point cannot be resolved to a type Utils.java /KatseAPIs/src/main/java/MushroomAPIs line 22 Java Problem

Raivo

On Thu, Sep 28, 2023 at 11:06 PM Dave Cramer <davecramer@postgres.rocks> wrote:
The latest version of postgis-jdbc is Maven Repository: net.postgis » postgis-jdbc » 2021.1.0 (mvnrepository.com)
Dave Cramer
www.postgres.rocks


On Thu, 28 Sept 2023 at 14:51, Raivo Rebane <raivore55@gmail.com> wrote:
Hi,

The same problem of postgres-jdbc compatibility remains and I pushed it to github - https://github.com/raaivore/APIexperiment.

I am using Postgres 15 and Java 1.8 and Tomcat9.
Maybe somebody can help me to solve the problem.

Regards
Raivo

pgsql-general by date:

Previous
From: Raivo Rebane
Date:
Subject: Re: Right version of jdbc
Next
From: Vladimir Sitnikov
Date:
Subject: Re: [EXT] YNT: Need help tuning a query