You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the Spring Framework in addition with the spring-data-jpa. I want to create my DataSource and EntityManagerFactory promatically by creating the beans because as from my Knowledge it's not possible to use a properties file with all that stuff in a pure Spring context.
Please do not wonder about my configuration if anything doesn't make sense. This is just a bunch of code I got from the internet because I'm not that into hibernate/spring-data-jpa/jpa and how its ever called.
So my problem now is that I want to create my EntityManagerFactory but, it throws an ArrayIndexOutOfBoundsException and I have no clue where it gets from and how I get rid of it.
Looks like a jandex bug in parsing the class definition unrelated to Guava, but the library version made it happen in the wild. They fixed it in the stack overflow linked issue, so you should upgrade that dependency instead.
Description
https://stackoverflow.com/questions/69845106/arrayindexoutofboundsexception-when-creating-a-entitymanagerfactory
I'm using the Spring Framework in addition with the spring-data-jpa. I want to create my DataSource and EntityManagerFactory promatically by creating the beans because as from my Knowledge it's not possible to use a properties file with all that stuff in a pure Spring context.
Please do not wonder about my configuration if anything doesn't make sense. This is just a bunch of code I got from the internet because I'm not that into hibernate/spring-data-jpa/jpa and how its ever called.
So my problem now is that I want to create my EntityManagerFactory but, it throws an ArrayIndexOutOfBoundsException and I have no clue where it gets from and how I get rid of it.
Example
Expected Behavior
There should be no such error, using version
com.google.guava
guava
30.1.1-jre
Actual Behavior
Throwing Error
Packages
No response
Platforms
No response
Checklist
The text was updated successfully, but these errors were encountered: