Circular reference involving containing bean 'dataSourceConfiguration' - consider declaring the factory method as static for i
Answers
Answered by
0
Step-by-step explanation:
सबसे अच्छा जवाब · 1 वोट
Indeed you have a circular dependency: OAuth2Config <- UserDetailsServiceImpl <- UserRepository <- EntityManager <- DataSource <- OAuth2Config Try to ... ज़्यादा
Answered by
25
Answer:
It happens when a bean A depends on another bean B, and the bean B depends on the bean A as well:
Bean A → Bean B → Bean A
Similar questions