mybatis怎么配置xml,mapper

2025-05-09 06:05:40
推荐回答(1个)
回答1:

具体方法
一般要检查配置文件命名空间,还有applicationContext.xml里的配置
p:dataSource-ref="dataSource" p:configLocation="classpath:mybatis-config.xml">


classpath*:com/xxx/**/*Mapper.xml