在注入的时候,提示无法自动装配,未找到xxx的bean,造成无法自动注入。

在dao层(mapper)中添加@Repository。添加@Comment应该也是可以的。

java 在注入的时候,无法自动装配到xxx的bean

 

原文:https://blog.csdn.net/qq_39999478/article/details/102798863

相关文章:

  • 2022-12-23
  • 2021-08-11
  • 2021-07-21
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-23
  • 2022-02-18
  • 2022-12-23
  • 2021-08-28
相关资源
相似解决方案