-
Notifications
You must be signed in to change notification settings - Fork 97
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
bug: java.lang.NoSuchMethodException with native compilation and ClientRequestFilter for Ollama #722
Comments
Hi, You can get over this with |
yes I've just test with Do you want a PR in the Ollama's documentation to mention this? |
Sure thing! Just mention that this won't be necessary in the near future |
Interestingly enough I was not able to reproduce the problem. What version of Quarkus and Quarkus LangChain4j were you using? |
Quarkus: 3.11.0 Do you want I do a test with the last versions of Quarkus and Quarkus LangChain4j? |
Now I see what's happening.... This is definitely a bug in Quarkus |
When the server part of Quarkus REST is not included, prior to this change, user's @Provider classes were not registered for reflection Relates to: quarkiverse/quarkus-langchain4j#722
quarkusio/quarkus#41707 is the fix |
When the server part of Quarkus REST is not included, prior to this change, user's @Provider classes were not registered for reflection Relates to: quarkiverse/quarkus-langchain4j#722 (cherry picked from commit 2a567df)
When the server part of Quarkus REST is not included, prior to this change, user's @Provider classes were not registered for reflection Relates to: quarkiverse/quarkus-langchain4j#722
When the server part of Quarkus REST is not included, prior to this change, user's @Provider classes were not registered for reflection Relates to: quarkiverse/quarkus-langchain4j#722 (cherry picked from commit 2a567df)
When the server part of Quarkus REST is not included, prior to this change, user's @Provider classes were not registered for reflection Relates to: quarkiverse/quarkus-langchain4j#722
Hi,
I followed the documentation to add a request filter to handle authentication for the Ollama models.
Everything work fine when I run the program in the standard JAva mode but I'v got an
java.lang.NoSuchMethodException
when I use the native application built withquarkus build --native
.I took the same code as mentionned in the documentation:
The stacktrace:
Do you any idea what I'm doing wrong?
The text was updated successfully, but these errors were encountered: