咣当一下
|
bc10f02123
|
update sql/ry_config_20220929.sql.
使用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>
|
2023-03-08 03:31:47 +00:00 |