首页
软件开发
登录
6mi
u
盘
搜
搜 索
软件开发
SpringBoot整合Jpa启动出错
SpringBoot整合Jpa启动出错
xiaoxiao
2022-07-12
115
错误信息如下:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
在pom中加入H2 Database依赖即可,如下:
<dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <scope>runtime</scope> </dependency>
注意scope是runtime。
转载请注明原文地址: https://yun.8miu.com/read-53597.html
最新回复
(
0
)