当前位置:网站首页>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
边栏推荐
- How to finally generate a file from saveastextfile in spark
- 中小型医院基础网络解决方案
- 面试了二三十家公司所总结的问题,Android面试吃完这一套没有拿不到的Offer......
- Spark memory management mechanism new version
- Talk about the top 10 mistakes often made in implementing data governance
- jenkins多任务并发构建
- Exchange 2013 SSL证书安装文档
- HCIP第五天笔记
- win11系统之win11亮点
- EFCore高级Saas系统下一个DbContext如何支持多数据库迁移
猜你喜欢

OSI、TCP/IP(A1)

Hcip experiment

"Guanghetong AI intelligent module sca825-w" with full AI performance accelerates the era of e-commerce live broadcast 2.0

HCIP第三天笔记

Exchange 2013 SSL certificate installation document

Hcip third day notes

医院无线网络系统设计

HCIP第十一天笔记

HCIP第七天笔记

Arm architecture and programming 4 -- serial port (based on Baiwen arm architecture and programming tutorial video)
随机推荐
選址與路徑規劃問題(Lingo,Matlab實現)
Yinshimei Invisalign oral scan referral method (export oral scan data + online consultation)
How to finally generate a file from saveastextfile in spark
How to solve the problem that the universal vision NVR device is connected to the easycvr platform and cannot be online after offline?
141. Circular linked list
OSPF (fourth day notes)
小熊派简介和环境搭建
网络类型(第三天笔记)
MySQL Basics (operators, sorting and paging, multi table queries, functions)
网络 类型
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?
About routing
How to use the directory classification function of the new version of easycvr (v2.5.0)?
Hcip second day notes
"Guanghetong AI intelligent module sca825-w" with full AI performance accelerates the era of e-commerce live broadcast 2.0
Second and third order trade expressions of linear algebra
Hcip day 8 notes
SCM learning notes 4--gpio (based on Baiwen STM32F103 series tutorials)
20220723 记录一次SAP Oracle 监听服务莫名停掉的问题
Network type (notes on the third day)