今天导入一个springboot项目后报错:
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.atguigu.eduservice.EduApplication];
nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'globalExceptionHandler'
for bean class [com.atguigu.servicebase.exceptionhandler.GlobalExceptionHandler] conflicts with existing,
non-compatible bean definition of same name and class [com.atguigu.exceptionhandler.GlobalExceptionHandler]
最后才注意到,忘记修改配置文件了。
如:数据库用户名,密码等,以及配置oss的文件
oss: