Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I implement chatgpt in a Java with Ant? #13

Open
JesmaniaGeras opened this issue Apr 19, 2023 · 0 comments
Open

How can I implement chatgpt in a Java with Ant? #13

JesmaniaGeras opened this issue Apr 19, 2023 · 0 comments

Comments

@JesmaniaGeras
Copy link

JesmaniaGeras commented Apr 19, 2023

I have tried, with a simple code like the example with the JAR added in the libraries, but it marks errors in the console like that:

Exception in thread "main" java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/JsonProcessingException
at ChatGpt.PruebaChatGpt.main(PruebaChatGpt.java:7)
Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.core.JsonProcessingException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 1 more
C:\Users\jesma\AppData\Local\NetBeans\Cache\17\executor-snippets\run.xml:111: The following error occurred while executing this line:
C:\Users\jesma\AppData\Local\NetBeans\Cache\17\executor-snippets\run.xml:68: Java returned: 1
BUILD FAILED (total time: 8 seconds)

--- I don't know if I need to do a extra process or something like that, thanks for your future answers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant