springboot jdbctemplate 多數(shù)據(jù)源(springboot配置多數(shù)據(jù)源無效)

發(fā)布時間:2024-04-17
本文主要介紹springboot jdbctemplate多數(shù)據(jù)源(springboot配置多數(shù)據(jù)源無效),下面一起看看springboot jdbctemplate多數(shù)據(jù)源(springboot配置多數(shù)據(jù)源無效)相關資訊。
錯誤報告信息
description :應用程序上下文中的一些beans的依賴關系形成了一個cycl: org . spring framework . boot . auto config ure.orm.jpa.hibernatejpaconfiguration┌─────┐| dynamic data source在類路徑資源中定義[com/gii kin/ads/alert/ads rule/data source config . class]↑↓| data source在類路徑資源中定義[com/gii kin/ads/alert/ads rule/data source config . class]↑↓| org . spring framework . boot . auto configure . jdbc . data source
1.將正確的版本添加到pom.xml中的spring-boot-starter-data-jpa例如,version2.3.5.release/version找到了您的集成的相應版本。
依賴性groupidorg.springframework.boot/groupid artifactid spring-boot-starter-data-jpa/artifactid version2.3.5.release/version/依賴性2 .將以下代碼添加到啟動類中
@ spring boot application(exclude = { data source auto configuration . class })
標簽:
版本給你
了解更多springboot jdbctemplate多數(shù)據(jù)源(springboot配置多數(shù)據(jù)源無效)相關內容請關注本站點。
上一個:中走絲線切割HF修刀如何設?具體注意事項有哪些?
下一個:硬密封球閥概述以及特點

嚴管大數(shù)據(jù)“殺熟”!貴州反不正當競爭條例10月28日起施行
【德國人的行為哲學】值得一看
撞擊式空氣氣溶膠采樣器的使用方法
Kinco高性能伺服在激光切割機上的應用
起重吊索具的安全使用
四氟車削板和四氟模壓板用途一樣嗎
美國海派雙清有哪些快船你可以選擇呢?
大白菜u盤裝原版系統(tǒng)教程(大白菜u盤系統(tǒng)安裝步驟)
酒精密度計測甲醇儀器如何快速測試
mhdd壞道位置記錄,MHDD查出硬盤壞道但是不知道具體位置誰能算一下
十八禁 网站在线观看免费视频_2020av天堂网_一 级 黄 色 片免费网站_绝顶高潮合集Videos