SpringBoot问题集锦Sucha
1、org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.simate.warehouse.core.CoreApplication]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'storeAuditService' for bean class [com.simate.warehouse.core.store.StoreAuditService] conflicts with existing, non-compatible bean definition of same name and class [com.simate.warehouse.core.outboundRequest.OutboundAuditService]
- 解决方案:
是因为有两个相同名称的service了,检查service