ruoyi-system启动不了,但ruoyi-geteway和ruoyi-auth都能正常启动。

报 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

这个错误

分析:不能创建sysConfigControllerbean对象,配置文件注册不进来,也就是nacos没有把yml注册进来,有问题。

修改后,这里已经显示,自动显示不了的,修改conf目录下的application文件。重启即可。

如不行,手动添加yml,即可启动ruoyi-system

Logo

快速构建 Web 应用程序

更多推荐