Right version of jdbc

Started by Raivo Rebaneover 2 years ago6 messagesgeneral
Jump to latest
#1Raivo Rebane
raivore55@gmail.com

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

#2Dave Cramer
pg@fastcrypt.com
In reply to: Raivo Rebane (#1)
Re: Right version of jdbc

The latest version of postgis-jdbc is Maven Repository: net.postgis »
postgis-jdbc » 2021.1.0 (mvnrepository.com)
<https://mvnrepository.com/artifact/net.postgis/postgis-jdbc/2021.1.0&gt;
Dave Cramer
www.postgres.rocks

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

Show quoted text

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

#3Raivo Rebane
raivore55@gmail.com
In reply to: Dave Cramer (#2)
Re: Right version of jdbc

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:

Show quoted text

The latest version of postgis-jdbc is Maven Repository: net.postgis »
postgis-jdbc » 2021.1.0 (mvnrepository.com)
<https://mvnrepository.com/artifact/net.postgis/postgis-jdbc/2021.1.0&gt;
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

#4Raivo Rebane
raivore55@gmail.com
In reply to: Raivo Rebane (#3)
Re: Right version of jdbc

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:

Show quoted text

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)
<https://mvnrepository.com/artifact/net.postgis/postgis-jdbc/2021.1.0&gt;
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

#5Raivo Rebane
raivore55@gmail.com
In reply to: Raivo Rebane (#4)
Re: Right version of jdbc

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:

Show quoted text

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)
<https://mvnrepository.com/artifact/net.postgis/postgis-jdbc/2021.1.0&gt;
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

#6Dave Cramer
pg@fastcrypt.com
In reply to: Raivo Rebane (#5)
Re: Right version of jdbc

On Fri, 29 Sept 2023 at 01:23, Raivo Rebane <raivore55@gmail.com> wrote:

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)
<https://mvnrepository.com/artifact/net.postgis/postgis-jdbc/2021.1.0&gt;
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

Sorry, I just realized I dropped the ball here. Did you ever figure this
out ?
Dave