若依 微服务部署 Invalid bound statement (not found): com.ruoyi.system.mapper.SysConfigMapper.selectConfigList

 运行 ruoyi-auth和ruoyi-gateway都可以启动。但是,ruoyi-system不行

报错:Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sysConfigServiceImpl': Invocation of init method failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.ruoyi.system.mapper.SysConfigMapper.selectConfigList

 selectConfigList是从注册中心(Nacos)拿数据,先去Nacos的 “配置列表”看一下。找到ruoyi-system-dev.yml,编辑,把数据库配上去。

 可能还有其他情况。

 

问题的表现情况,和这个老铁的类似:

https://cdmana.com/2021/10/20211021095453953w.html

解决方案 https://icode.best/i/33004346003118

posted @ 2022-09-07 19:24  NetUSA  阅读(7576)  评论(0)    收藏  举报