陌丿尘16 2022-06-13 11:14 采纳率: 90.2%
浏览 49
已结题

关于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]
请问朋友能帮我一下吗,翻译出来以后也不知道该怎么下手解决,谢谢

  • 写回答

5条回答 默认 最新

  • 皮蛋不吃粥 2022-06-13 11:16
    关注

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(4条)

报告相同问题?

问题事件

  • 系统已结题 6月21日
  • 已采纳回答 6月13日
  • 创建了问题 6月13日