akveo / ngx-admin-bundle-support

Support repository for ngx-admin backend bundles with issues tracking, instructions and code samples
58 stars 32 forks source link

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

Open ricefish888 opened 3 years ago

ricefish888 commented 3 years ago

APPLICATION FAILED TO START


Description:

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

jwtSecurityConfig defined in URL [jar:file:/Users/Downloads/java-ecom/backend/target/bundle-java-1.0.0.jar!/BOOT-INF/classes!/com/akveo/bundlejava/config/JwtSecurityConfig.class] ┌─────┐ | tokenService defined in URL [jar:file:/Users/Downloads/java-ecom/backend/target/bundle-java-1.0.0.jar!/BOOT-INF/classes!/com/akveo/bundlejava/authentication/TokenService.class] ↑ ↓ | bundleUserDetailsService defined in URL [jar:file:/Users/Downloads/java-ecom/backend/target/bundle-java-1.0.0.jar!/BOOT-INF/classes!/com/akveo/bundlejava/authentication/BundleUserDetailsService.class] ↑ ↓ | userService (field private com.akveo.bundlejava.authentication.TokenService com.akveo.bundlejava.user.UserService.tokenService) └─────┘

pierfani commented 3 years ago

i have the same issue