Easy-open-ai icon indicating copy to clipboard operation
Easy-open-ai copied to clipboard

Any reason for Java 18 instead of 17?

Open Dustinhoefer opened this issue 11 months ago • 1 comments

Hey!

I finally got around to implementing your version of the api. Unfortunately, I can not run it, since I am running JDK 17.

Any specific reason you are not using the LTS Version 17, but rather 18?

Kind regards Dustin

Dustinhoefer avatar Mar 11 '24 15:03 Dustinhoefer

I checked it out, changed to version 17 and tried to build. Not working :/

Removed maven plugins: sign and javadoc -> building

Using that version -> Caused by: java.lang.ClassNotFoundException: retrofit2.converter.gson.GsonConverterFactory at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)

Added the following dependency seems to work:

<dependency>
        <groupId>com.google.code.gson</groupId>
        <artifactId>gson</artifactId>
        <version>2.9.0</version>
    </dependency>

Dustinhoefer avatar Mar 11 '24 15:03 Dustinhoefer