这里是在一个多层级项目中搭建一个Spring的子模块项目用于演示 H2与Spring Boot的整合,单独的Spring Boot则更为简单。需要注意:Spring Boot 3 整合H2 相比Spring Boot 2有细微差别。
版本
- Spring Boot 3.0.5
- 开发IDE : Spring Tool Suite 4
步骤
- 父项目pom.xml中配置的Spring Boot的版本
<!-- 配置依赖版本 -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>3.0.6</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
- 在父项目下增加一个模块
勾选创建一个简单的项目, 也就是使用任何项目骨架。<
. . .
相关推荐
热门推荐
自我成长的模板法模型
200天前
找不到依赖项“com.google.co...
200天前
《MongoDB入门教程》第18章文档更...
200天前
Lock接口介绍
196天前
PyTorch深度学习实战——使用卷积神...
196天前
深入探讨分布式追踪
196天前
【Python 随练】三数字排序
196天前
快速整明白Redis中的整数集合到底是个...
196天前
Win7缺少d3dcompiler_37...
188天前
新在线观看游戏视频赚钱的方法,详细过程
188天前
最新推荐
怎样使用Spring的配置文件?带大家一...
196天前
SQL查询优化---关联查询索引优化
196天前
Unity与Android交互之✨| 使...
196天前
2020计算机专业保研夏令营面经:南科大...
196天前
锁机制初探(五)Moniter的实现原理
196天前
语谱图(三) Spectrogram 的...
196天前
2.9.4 Ext JS的布尔对象类型处...
196天前
前端(十二)——深入理解和使用 asyn...
196天前
Memcached FAQ(2) 集群架...
196天前
ads via 小工具