循环注入导致的接口注入问题
报错信息:
Error creating bean with name 'crmOperactivityServiceImpl': Bean with name 'crmOperactivityServiceImpl' has been injected into other beans [crmBusinessServiceImpl] i. 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 'getBeanNamesForType' with the 'allowEagerInit' flag turned off, for example.
注入的service加上@Lazy 注解
参考:https://blog.csdn.net/weixin_41888813/article/details/100544388