lzf8888

Results issues of lzf8888

在使用Spring Boot 1.5.x 版本+Spring Data JPA时,并使用Dubbot(2.5.6/8),如果在Service里注入Repository,就有机会触发Dependency Cycle error。 在上层代码中,如果autowire service的顺序不同,也会触发这个Denpendency Cycle,如: @Autowired private OrganizationService organizationService; @Autowired private CityDictionaryService cityDictionaryService; 不会报错,但是调换声明顺序就会。 如果删除Dubbo的Dependency,问题解决。 Dependency Cycle和EntityManager有关,而且很诡异,无论是自定义EntityManager还是Spring自动创建的都会报错。 报错信息: Description: The dependencies of some of...