Math, asked by ishaansinha8552, 8 months ago

Circular reference involving containing bean 'dataSourceConfiguration' - consider declaring the factory method as static for i

Answers

Answered by vy91917gmailcom
0

Step-by-step explanation:

सबसे अच्छा जवाब · 1 वोट

Indeed you have a circular dependency: OAuth2Config <- UserDetailsServiceImpl <- UserRepository <- EntityManager <- DataSource <- OAuth2Config Try to ...  ज़्यादा

Answered by RvChaudharY50
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