为了账号安全,请及时绑定邮箱和手机立即绑定

启动报错:No MyBatis mapper was found in '[com.imooc.demo.config.dao]' package. Please check your configuration.

No MyBatis mapper was found in '[com.imooc.demo.config.dao]' package. Please check your configuration.

正在回答

1 回答

原因是 你的程序没有找到你的mapper.xml,大概率是你配置的路径有问题。检查下下你的 application.propertities的

mapper_path=/mapper/**.xml


0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

启动报错:No MyBatis mapper was found in '[com.imooc.demo.config.dao]' package. Please check your configuration.

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信