application.properties里面寫著mybatis.mapper-locations=classpath:mapping/*.xml,并且xml也在mapping目錄下,為什么還是找不到mapper
報錯信息:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Fri Dec 20 15:56:33 GMT+08:00 2019
There was an unexpected error (type=Internal Server Error, status=500).
Invalid bound statement (not found): com.miaoshaproject.service.UserService.getUserById
2020-03-26
2020-01-16
樓主的問題解決的了嗎?,我也出了這個問題
2020-01-14
是不是少了@ResponseBody
2019-12-21
我是這樣寫的,會不會你這個寫法在properties中不合法呢