当前位置:网站首页>Notes - record a dynamic datasource please check the setting of primary problem solving
Notes - record a dynamic datasource please check the setting of primary problem solving
2022-07-24 01:36:00 【Focus on writing bugs】
List of articles
Preface
Usually, the error reported in the title , The main reason is :
- Dependency version conflict
- yml And other configuration file configuration problems
Problems arise
Originally used dynamic-datasource Version is 3.5 following , secondly nacos The configuration files specified in the configuration center are as follows :
Also increased primary Set up information :
spring.datasource.dynamic.datasource.primary
But the startup still appears please check the setting of primary The error of :
Problem solving
take dynamic-datasource-spring-boot-starter Dependent version , Upgrade to 3.5.0. solve .
summary
- If appear
springbootAnddynamic-datasourceConflicting versions , You need to change the version , Keep experimenting . - You also need to check the configuration items , Whether to define
primaryPriority settingspring.datasource.dynamic.datasource.primary
边栏推荐
- SCM learning notes 9 -- Serial Communication (based on Baiwen STM32F103 series tutorials)
- 暑假第三周
- win11之缺点
- OSPF(第五天笔记)
- Problèmes de localisation et de planification des itinéraires (Lingo, mise en œuvre de MATLAB)
- Three document usage
- 网络 类型
- EFCore高级Saas系统下一个DbContext如何支持多数据库迁移
- SCM learning notes 6 -- interrupt system (based on Baiwen STM32F103 series tutorials)
- Research on retinal vascular segmentation based on GAN using few samples
猜你喜欢

Exchange 2010通配符SSL证书安装文档

Research on retinal vascular segmentation based on GAN using few samples

SCM learning notes 8 -- keys and external interrupts (based on Baiwen STM32F103 series tutorials)

医院无线网络系统设计

141. Circular linked list

RIP---路由信息协议

选址与路径规划问题(Lingo,Matlab实现)

小熊派简介和环境搭建

HCIP实验

Introduction and environment construction of little bear sect
随机推荐
Customer first | domestic Bi leader, smart software completes round C financing
Hcip first day notes
SCM learning notes 4--gpio (based on Baiwen STM32F103 series tutorials)
简单GAN实例代码
Detailed explanation of php7 garbage collection mechanism
Why can't HMI panels of botu V17 and below connect with CPUs of 1500 firmware version 2.9 or 1200 firmware version 4.5?
HCIP第一天笔记
Bat Code: batch file underline rename
win11系统之win11亮点
jenkins多任务并发构建
架构实战营模块二作业
How to synchronize MySQL database when easycvr platform is upgraded to the latest version v2.5.0?
医院网络安全架构
Yinshimei Invisalign oral scan referral method (export oral scan data + online consultation)
Introduction to the use of bit instruction in Rockwell AB PLC rslogix5000
Advantages and disadvantages of XML
OSI、TCP/IP(A1)
Arm architecture and programming 4 -- serial port (based on Baiwen arm architecture and programming tutorial video)
OSPF (fourth day notes)
[code case] website confession wall & to do list (including complete source code)