Spring Boot
jane3von
~~
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
spring boot 配置多个数据库
1. DataSourceConfig.java import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.jdbc.DataSourceBuilder; import org.springframework.context原创 2021-05-04 19:44:54 · 216 阅读 · 0 评论 -
IntelliJ IDEA 新建Spring Boot项目
1.新建Spring Boot 项目 用IntelliJ IDEA新建一个Spring Boot 项目,选择Spring Initializr,如下图: 初始项目结构,各目录含义如下: pom文件为依赖管理文件; resources为资源文件夹; statics为静态资源; templates为模板资源; application.properties为配置文件...原创 2019-11-13 15:26:04 · 885 阅读 · 0 评论
分享