网上的方法全试了,配置全对,很奇怪。
最后一查,竟然忘记把mapper保存为xml格式。
记录一下。
转载于:https://www.cnblogs.com/MarsMercury/p/11580640.html