team-learn-programming-yourself / jwt-youtube

58 stars 58 forks source link

jdk.internal.misc.Unsafe.park #3

Open chandanwestern opened 2 years ago

chandanwestern commented 2 years ago

Description:

The dependencies of some of the beans in the application context form a cycle:

┌─────┐ | jwtRequestFilter (field private com.western.security.api.service.JwtService com.western.security.api.configuration.JwtRequestFilter.jwtService) ↑ ↓ | jwtService (field private org.springframework.security.authentication.AuthenticationManager com.western.security.api.service.JwtService.authenticationManager) ↑ ↓ | webSecurityConfiguration (field private com.western.security.api.configuration.JwtRequestFilter com.western.security.api.configuration.WebSecurityConfiguration.jwtRequestFilter) └─────┘

AJITH1036 commented 1 year ago

add this application.properties file

spring.main.allow-circular-references=true