SpringBoot调用feignorg.apache.ibatis.binding.BindingException: Invalid bound statement (not found)

mac2025-02-07  16

SpringBoot调用feign org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)

首先查看一下情况看是否能进行解决 如果未能解决请按下面操作: 解决办法 如下:在SpringBoot的启动类中增加注解

@MapperScan("") //括号里面的值为 mybaits mapper文件所对应的包名 比如: com.unicom.tmsadmin.mapper

具体截图如下所示: 完美解决。

最新回复(0)