RuoYi微服务部署运行报错

根据官网的部署文档,进行部署,

1、创建数据库、

2、修改工程里面的配置文件

3、修改nacos服务器里面的连接mysql的配置

4、修改nacos配置中心的配置,主要是改连mysql、redis之类的配置

启动getway 报Client not connected, current status:STARTING

启动RuoYiSystemApplication 报 Error creating bean with name 'sysConfigController': Unsatisfied dependency expressed through field 'configService'; nested exception is 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

原因是配置中心连接不是,本人是把nacos部署在docker里面,只开放了8848端口,还需要开放9848、9849两个端口才行

问题处理 给docker里面的nacos 开放两个端口 参考

https://mp.csdn.net/mp_blog/creation/editor/135859497

相关推荐
贵慜_Derek7 小时前
《从零实现 Agent 系统》连载 32|闭集 IE 与小模型:分类、意图与字段抽取
人工智能·架构·agent
江米小枣tonylua17 小时前
译:设计生产级 RAG 架构
架构
怕浪猫1 天前
领域特定语言(Domain-Specific Language, DSL)
设计模式·程序员·架构
怕浪猫1 天前
哪些软件对 Chrome DevTools Protocol 频繁使用
人工智能·架构·前端框架
Jack201 天前
HarmonyOS APP事件驱动大揭秘
架构
米丘1 天前
微前端之 Web Components 完全指南
微服务·html
秋播1 天前
国内本地WSL2编译rancher源码
云原生
Colin草率地做慢慢地改1 天前
关于QuickStore这个项目的重构(2)- 数据库建表文件
后端·面试·架构
candyTong2 天前
RTK 技术原理:一次典型会话里,80% 上下文是怎么省下来的
javascript·后端·架构
唐某人丶2 天前
从画架构图开始:架构分析与进阶指南
架构