錯誤信息如下:
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。