Description:
The dependencies of some of the beans in the application context form a cycle:
┌─────┐
| securityConfig (field private com.xxxx.server.service.IAdminService com.xxxx.server.config.security.SecurityConfig.adminService)
↑ ↓
| adminServiceImpl (field private org.springframework.security.core.userdetails.UserDetailsService com.xxxx.server.service.impl.AdminServiceImpl.userDetailsService)
└─────┘
Action:
Relying upon circular references is discouraged and they are prohibited by default. Update your application to remove the dependency cycle between beans. As a last resort, it may be possible to break the cycle automatically by setting spring.main.allow-circular-references to true.
Process finished with exit code 1
JAVA启动时报这个错,什么意思,怎么改呢