org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'exceptionHandlerAdvice' for bean class [com.xxx.o2o.exceptionHandlerAdvice] conflicts with existing, non-compatible bean definition of same name and class [com.xxx.gis.impl.exceptionHandlerAdvice]
因为包不同造成的bean定义冲突问题
解决方案:
方法1.清理idea缓存
方法2.如果还不行清理idea配置相关文件
项目的idea配置
模块的
全部删除