Springboot项目中A component required a bean of type ‘XXX‘ that could not be found解决方法

记得在application.properties文件中写上:

mybatis-plus.mapper-locations=classpath:/mapper/*.xml

猜你喜欢

转载自blog.csdn.net/weixin_44284276/article/details/115381067