启动类加注解:@MapperScan("com.acloud.xxx.mapper")
配置文件中加:mybatis-plus.mapper-locations: classpath:/mapper/*.xml
No qualifying bean of type ‘com.spark.mapper.BlogMapper‘ available: expected at least
最新推荐文章于 2023-07-18 04:06:33 发布
启动类加注解:@MapperScan("com.acloud.xxx.mapper")
配置文件中加:mybatis-plus.mapper-locations: classpath:/mapper/*.xml