SpringBoot conflicts with existing, non-compatible bean definition of same name and class

报错的内容是类名重复,在环境中查不到,后来在Pom.xml 中发现引用了其他微服务的包,出现了重名引用,切记乱点!

提交代码时,会出现pom.xml修改。revert 即可

posted @ 2022-09-08 16:43  办公室的仙人掌  阅读(1022)  评论(0)    收藏  举报