spring-projects / spring-data-jpa

Simplifies the development of creating a JPA-based data access layer.
https://spring.io/projects/spring-data-jpa/
Apache License 2.0
2.92k stars 1.39k forks source link

Error found: java.lang.NoSuchMethodError: "_persistence_checkFetchedForSet(java.lang.String) with spring data JPA 3.3.0 #3490

Closed AnupamKT closed 2 weeks ago

AnupamKT commented 1 month ago

We upgraded the following spring jars

we observed the following runtime error:java.lang.NoSuchMethodError: "_persistence_checkFetchedForSet(java.lang.String) We are using the Eclipselink version 4.0.2.

When we upgrade only Spring boot and spring framework jars, there are no errors seen. This error is seen only when we upgrade spring data JPA and spring data commons. We even tried upgrading eclipselink to its latest version 4.0.3 but no luck. Please suggest what we need to do.

christophstrobl commented 1 month ago

Thank you for getting in touch. This sounds a bit like a dependency problem. data-jpa builds fine against both eclipse link 4.0.2 and 4.0.3. Maybe you can take the time to provide a complete minimal sample (something that we can unzip or git clone, build, and deploy) that reproduces the problem and provides a little more context in which the error occurs.

spring-projects-issues commented 3 weeks ago

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

spring-projects-issues commented 2 weeks ago

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.