Annotation-specified bean name 'datahubServiceImpl' for bean class [com.peony.common.service.impl.DatahubServiceImpl] conflicts with existing, non-compatible bean definition of same name and class [com.peony.common.service.DatahubServiceImpl]

 

1、有两个同名的注入类

2、如果确实没有的话,就重新编译一下,再不行就重启编辑器