An API Gateway built on Spring Framework and Spring Boot providing routing and more.
4.55k
stars
3.33k
forks
source link
Spring Cloud Gateway + IntelliJ - cannot autowire: circuitBreakerConfig: Consumer<SpringCloudCircuitBreakerFilterFactory.Config> #3601
Open
dreamstar-enterprises opened 5 days ago
In IntelliJ Idea I keep getting a cannot autowire bean error.
The exact error is:
Spring Cloud Gateway
Here is my routelocator
Circuit Breaker Bean
And the bean is clearly there - this doesn't show any errors
Can someone help?
I believe it must be something to do with the Spring Component Scanning setup, since it quite quickly shows it as a bean that cannot be autowired.