#Spring error. I cant find any reason for this error
1 messages · Page 1 of 1 (latest)
I uploaded your attachments as Gist.
<@&1004656351647117403> please have a look, thanks.
Here is an AI assisted attempt to answer your question 🤖. Maybe it helps! In any case, a human is on the way 👍. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.
Yes, please provide the source code or a link to the GitHub repository so that I can help you identify the reason for the error.
https://github.com/xSenny/Grades here it is
@unreal gale
with name 'jwtAuthenticationFilter' defined in file [C:\Users\ursua\Development\Java-Web\Grades\build\classes\java\main\dev\xsenny\grades\config\JwtAuthenticationFilter.class]: Unsatisfied dependency expressed through constructor parameter 1: Error creating bean with name 'applicationConfig' defined in file
@undone heron yes that s the error that I try to get a solution for
look at the constructor as its saying
Im using these classes for a long time and haven't got errors, till I made some different modifications
can only tell to start looking down the breadcrumbs of that constructor, somewhere in the parameters is the fault
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepository' defined in dev.xsenny.grades.user.UserRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Cannot resolve reference to bean 'jpaSharedEM_entityManagerFactory' while setting bean property 'entityManager'
u also got that one
and all the other ones are referring to the same UserRepo