目录如下: 在yml中加入mybatis: mapperLocations: classpath:sqlmap/*.xml原因:没有找到xml文件 转载于:https://www.cnblogs.com/Simeonwu/p/8034921.html