Mybatis mapper must match错误

Mybatis mapper must match

((cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)


出现此问题是由于自己的xml内的mybatis标签未按照指定的顺序来编写。

顺序如下:

cache-ref

cache

resultMap*

parameterMap*

sql*

insert*

update*

delete*

select


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章