UserMapper.xml文件没有写

并且在beans.xml(applicationContext.xml)文件中没有配置mybatis的核心配置文件
(注意:属性namespace:写的对应的接口)
(注意:写完后记得在核心配置文件中注册)
配置文件的关联:
UserMapper.xml--->mybatis-config.xml->applicationContext.xml
***天真的我以为可以省略不写。。。。。

相关文章:

  • 2021-12-18
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
  • 2021-09-10
  • 2021-08-06
  • 2021-04-08
  • 2021-09-17
猜你喜欢
  • 2021-04-25
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
  • 2021-04-15
  • 2021-08-03
  • 2021-05-28
相关资源
相似解决方案