작성
·
497
0
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-08-03 16:23:18.841 ERROR 14112 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
The dependencies of some of the beans in the application context form a cycle:
┌─────┐
| initDb defined in file [C:\Users\pkl46\OneDrive\Desktop\spring\jpashop\jpashop\out\production\classes\jpabook\jpashop\InitDb.class]
↑ ↓
| jpabook.jpashop.InitDb$InitService
└─────┘
Action:
Despite circular references being allowed, the dependency cycle between beans could not be broken. Update your application to remove the dependency cycle.
Process finished with exit code 1
이런 오류가 뜨면 어느 부분을 놓친 걸까요? ㅜㅜ
답변 3
0
0