non-compatible bean definition of same name and class同名和类的非兼容bean定义

SpringBoot启动报错:

for bean class [com.xxx.ctsg.service.impl.xxx] conflicts with existing, non-compatible bean definition of same name and class

解法:

修改类名,确保名称唯一后,启动正常

发布了126 篇原创文章 · 获赞 46 · 访问量 6万+

猜你喜欢

转载自blog.csdn.net/loulanyue_/article/details/100371833