首页 > 其他分享> > 若依 微服务部署 Invalid bound statement (not found): com.ruoyi.system.mapper.SysConfigMapper.selectConfigLi
若依 微服务部署 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
标签:mapper,selectConfigList,bound,Invalid,system,ruoyi,com 来源: https://www.cnblogs.com/NetUSA/p/16666940.html