第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定

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



正在回答

4 回答

mybatis.mapper-locations=classpath:mapping/UserDOMapper.xml,classpath:mapping/UserPasswordDOMapper.xml


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

樓主的問題解決的了嗎?,我也出了這個問題

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

http://img1.sycdn.imooc.com//5e1d80db0001aa8a06180147.jpg

是不是少了@ResponseBody


0 回復 有任何疑惑可以回復我~
mybatis.mapperLocations=classpath:mapping/*.xml

我是這樣寫的,會不會你這個寫法在properties中不合法呢

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

舉報

0/150
提交
取消

application.properties里面寫著mybatis.mapper-locations=classpath:mapping/*.xml,并且xml也在mapping目錄下,為什么還是找不到mapper

我要回答 關注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號