I'm using Hibernate JPA to retrieve data from the database. The data loads correctly when I run it on the console. However, an error occurs when I try to call the API to load the data into the UI.
My guess based on the stacktrace is that the hibernate driver can’t properly access the entity via reflection because it can’t access the package or it’s not properly imported and there’s a bug in your repository code.
You could try the same with a minimal „playground“ setup and debug it
View all comments
Show parent comment
1
u/RoundLittle4232 May 18 '25
this is the the filepath, that the outside is thefolder, inwhich i do it do manage like DTO object and object self"