BSN is a social network platform to exchange books between the members.
Apache License 2.0
569
stars
115
forks
source link
"UnsatisfiedDependencyException", "BeanCreationException" for jwtFilter, jwtServices and IllegalArgumentException for 'application.security.jwt.secret-key' in value "${application.security.jwt.secret-key}" #8
I'm encountering the following errors even though I followed all the code from the tutorial.
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jwtFilter'****
Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'jwtService': Injection of autowired dependencies failed
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jwtService': Injection of autowired dependencies failed
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'application.security.jwt.secret-key' in value "${application.security.jwt.secret-key}"
I'm encountering the following errors even though I followed all the code from the tutorial.
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jwtFilter'****
Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'jwtService': Injection of autowired dependencies failed
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jwtService': Injection of autowired dependencies failed
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'application.security.jwt.secret-key' in value "${application.security.jwt.secret-key}"