#Spring error. I cant find any reason for this error

1 messages · Page 1 of 1 (latest)

unreal gale
#

This is my entire error:

if you would like to see my source code, then tell me and Ill create a github repo

buoyant widgetBOT
#

<@&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.

unreal gale
undone heron
#

@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

unreal gale
#

@undone heron yes that s the error that I try to get a solution for

undone heron
#

look at the constructor as its saying

unreal gale
#

Im using these classes for a long time and haven't got errors, till I made some different modifications

undone heron
#

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