使用Spring开发的时候报错如下:

Caused by: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'userDaoImpl' for bean class [cn.arebirth.impl.UserDaoImpl] conflicts with existing, non-compatible bean definition of same name and class [cn.arebirth.dao.impl.UserDaoImpl]

 

排错思想:

  Spring Bean管理的对象名称相同了,也就是说有两个类的名字相同。

相关文章:

  • 2021-05-23
  • 2022-12-23
  • 2021-07-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-22
  • 2022-01-28
  • 2022-12-23
  • 2021-07-26
  • 2021-11-12
  • 2022-12-23
相关资源
相似解决方案