zl程序教程

您现在的位置是:首页 >  后端

当前栏目

SpringBoot配置postgre多数据源(亲测有效!!!)

SpringBoot配置 有效 数据源 亲测
2023-09-27 14:26:27 时间

参考:

https://blog.csdn.net/weixin_43240792/article/details/106571925

稍微有一些不一样:
pom引用:

<!--这个不存在-->
<dependency>
    <groupId>com.alibaba</groupId>
    <artifactId>druid-spring-boot-starter</artifactId>
    <version>1.1.10</version>
</dependency>

<!--用下边这个-->
<dependency>
    <groupId>com.alibaba</groupId>
    <artifactId>druid</artifactId>
    <version>1.1.8</version>
</dependency>