https://www.h2database.com/html/main.html


JDBC URL은 jdbc:h2:~/test로 수정하기.


implementation 'org.springframework.boot:spring-boot-starter-jdbc'
runtimeOnly 'com.h2database:h2'
<resources/application.properties>
spring.datasource.url=jdbc:h2:tcp://localhost/~/test
spring.datasource.driver-class-name=org.h2.Driver
spring.datasource.username=sa