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

2022/9/7 23:24:27

本文主要是介绍若依 微服务部署 Invalid bound statement (not found): com.ruoyi.system.mapper.SysConfigMapper.selectConfigLi,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

 运行 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



这篇关于若依 微服务部署 Invalid bound statement (not found): com.ruoyi.system.mapper.SysConfigMapper.selectConfigLi的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程