关于springboot项目启动时候报错的问题

就是在做一个springboot项目,启动的时候报错了启动失败,错误信息里看不懂
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.cdmp.admin.AdminApplication]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'sysRoleServiceImpl' for bean class [com.cdmp.system.service.impl.SysRoleServiceImpl] conflicts with existing, non-compatible bean definition of same name and class [com.cdmp.admin.service.impl.SysRoleServiceImpl]
请问朋友能帮我一下吗,翻译出来以后也不知道该怎么下手解决,谢谢

有相同的bean SysRoleServiceImpl 不懂可以问我

non-compatible bean definition,说明你的SysRoleServiceImpl有两个实例,而且名字还一样

找到修改实现类名称 就可以解决

不同包?在标注了SpringBootApplication()类的包及其子包下的Bean会被自动扫描,都放在一个容器里,你注入bean对象使用的是按个注解?

改个beanName