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

问题还没有解决。。。。。

2023-08-10   暂时解决,刷缓存以及多数据源指定主库

datasource:
    dynamic:
      primary: master
      datasource:
        # 主库数据源
        master:
          url: jdbc:mysql://localhost:3306/ry-config?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC
          username: root
          password: 1234

Logo

快速构建 Web 应用程序

更多推荐