📅  最后修改于: 2022-03-11 14:52:35.098000             🧑  作者: Mango
//Try this in your application.properties. It worked for me:
spring.datasource.url=jdbc:h2:~/test
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect