1、异常信息:
Annotation-specified bean name ‘keyCenterUtils’ for bean class [com.alibaba.aecp.elbrus.core.common.utils.KeyCenterUtils] conflicts with existing, non-compatible bean definition of same name and class [com.alibaba.aecp.app.common.util.KeyCenterUtils]
2、这是由于spring的bean都放在map中,key部分都是类名而不是完整的类路径。
3、解决的方式是对其中的一个类进行服务重命名。
spring服务重名导致失败
最新推荐文章于 2024-01-15 14:40:40 发布