1.创建项目启动报错
Field adminDao in com.cj.service.AdminService required a bean of type ‘com.cj.mapper.AdminDao’ that could not be found.
Spring boot集成Spring-data-Jpa中遇到的问题错误原因是启动类扫不到dao层的注解,所以在启动类上扫描的路径就可以了
Spring boot集成Spring-data-Jpa中遇到的问题

相关文章:

  • 2021-07-07
  • 2022-12-23
  • 2022-12-23
  • 2021-12-30
  • 2021-08-02
  • 2021-05-19
  • 2021-06-11
  • 2021-11-20
猜你喜欢
  • 2022-12-23
  • 2021-10-12
  • 2022-01-09
  • 2021-07-03
  • 2022-12-23
  • 2022-01-17
相关资源
相似解决方案