Starting on Spring Boot 2.6, circular dependencies are prohibited by default. you can allow circular references again by setting the following property:
spring.main.allow-circular-references = true
You can read some more details about this in the Spring Boot 2.6 Release Notes.
More Related Contents:
- Springboot Security hasRole not working
- Filter invoke twice when register as Spring bean
- Serving static web resources in Spring Boot & Spring Security application
- Spring Boot Security CORS
- Spring Boot CORS filter – CORS preflight channel did not succeed
- How to enable HTTP response caching in Spring Boot
- HttpSecurity, WebSecurity and AuthenticationManagerBuilder
- Spring Security: Upgrading the deprecated WebSecurityConfigurerAdapter in Spring Boot 2.7.0
- Spring Boot 2.0.0 + OAuth2
- Should I explicitly send the Refresh Token to get a new Access Token – JWT
- Spring Security with SOAP web service is working in Tomcat, but not in WebLogic
- Spring Boot 2.0 disable default security
- Spring Security HTTP Basic for RESTFul and FormLogin (Cookies) for web – Annotations
- How to configure CORS in a Spring Boot + Spring Security application?
- Spring Boot not serving static content
- When using Spring Security, what is the proper way to obtain current username (i.e. SecurityContext) information in a bean?
- Spring Boot Adding Http Request Interceptors
- How to disable spring security for particular url
- Spring boot Security Disable security
- spring mvc rest service redirect / forward / proxy
- 401 instead of 403 with Spring Boot 2
- Spring Boot ClassNotFoundException org.springframework.core.metrics.ApplicationStartup
- Load different application.yml in SpringBoot Test
- Multiple antMatchers in Spring security
- Spring Boot enabling CORS by application.properties
- Spring Boot @Async method in controller is executing synchronously
- about spring boot how to disable web environment correctly
- How do I add method based security to a Spring Boot project?
- How I create an error handler (404, 500…) in Spring Boot/MVC
- Disable HTTP OPTIONS method in spring boot application