使用jar包部署的时候,报错: dynamic-datasource initial loaded [0] datasource,Please add your primary datasource or check your configuration [refresh,591] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: 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 是多数据源时候,无法确定主数据源,添加一个配置 master中添加一个配置 primary: true Signed-off-by: 咣当一下 <saber.lover@qq.com> |
||
|---|---|---|
| .. | ||
| quartz.sql | ||
| ry_20230223.sql | ||
| ry_config_20220929.sql | ||
| ry_seata_20210128.sql | ||