慕哥2744514
2019-09-06 14:24
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Fri Sep 06 14:07:33 CST 2019
There was an unexpected error (type=Internal Server Error, status=500).
Invalid bound statement (not found): com.miaoshaproject.service.UserService.getUserById
这个错误提示是说maper绑定xml失败,看下你spring配置文件的mybatis.mapperLocations=classpath:mapping/*.xml属性所指的值是否是xml文件所在位置
SpringBoot构建电商基础秒杀项目
49064 学习 · 954 问题
相似问题