-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
ClassNotFoundException com.fasterxml.jackson.core.StreamReadConstraints [BUG] #8219
Comments
Hi @bartweber, Is it possible you are explicitly pulling in a version of Jackson that is lower than |
Yes that's it @Xtansia. Sorry for the hassle. I must have been distracted while looking in this issue. We use the OpenSearch Java client ( The previous version |
No worries, glad you were able to find a working combination for your use case. |
Hi, I am facing similar issue while we are upgrading to spring boot 3.3.2. I have analysed the dependencies and found all the jackson-core dependencies as 2.15.0 or above. Following exceptions are occurring while running test cases: When I search for the StreamWriteConstraints class in the IDE, it is not present. Attaching the mvn dependency tree of the project also I would Appreciate Your Help! Thanks! |
Hi, Thanks, the suggestions already available in this ticket were helpful to resolve the issue. |
Describe the bug
Class
com.fasterxml.jackson.core.StreamReadConstraints
seems to be missing for opensearch-x-content-2.8.0To Reproduce
Steps to reproduce the behavior:
In my case I was using
org.opensearch.client:opensearch-rest-high-level-client:2.8.0
and did the following method call:org.opensearch.client.indices.PutIndexTemplateRequest#source
which causes a ClassNotFoundException with the following stack trace:Expected behavior
Should not throw
ClassNotFoundException
when callingorg.opensearch.client.indices.PutIndexTemplateRequest#source
.Plugins
Not relevant I think.
Host/Environment (please complete the following information):
Not relevant I think.
Additional context
Using JDK 11
The text was updated successfully, but these errors were encountered: