У меня есть это исключение:
SEVERE: Context initialization failedorg.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'myService': Bean with name 'myService' has been injected into other beans [otherService] in its raw version as part of a circular reference, but has eventually been wrapped. This means that said other beans do not use the final version of the bean. This is often the result of over-eager type matching - consider using 'getBeanNamesOfType' with the 'allowEagerInit' flag turned off, for example.
Кто-нибудь может предложить хорошие стратегии для определения того, откуда исходит циклическая зависимость?
В настоящее время я просматриваю определение контекста, но, как вы могли представить, в проекте некоторой степени зрелости это занимает довольно много времени.
Так что я обычно ищу идеи, как быстро найти циклические зависимости bean-компонентов.