369IT编程
  •  首页
  •  教程
  •  IT编程
  •  国外技术
  •  登录
  1. 标签
  2. luyao
  • Consider defining a bean of type ‘com.luyao.guyue_demo.dao.UserDAO‘ in your configuration.

    出现如下报错的原因是,没有在方法入口GuyueDemoApplication添加MapperScan(开启包扫描)注解,添加该注解即可。
    TypeluyaodefiningBeanUserDAO
    admin2025-1-31
    600
CopyRight © 2022 All Rights Reserved
Processed: 0.024, SQL: 9