报错说No qualifying bean of type 'com.example.ayuntest.mapper.GoodsMapper',所以这时要在Application启动类里面加入@MapperScan("com.example.ayuntest.mapper")扫描mapper文件。
标签:mapper,qualifies,autowire,candidate,least,bean,expected From: https://www.cnblogs.com/Li-An/p/17235911.html