Use below changes and try
spring:
datasource:
url: jdbc:h2:file:./camunda-h2-database
driver-class-name: org.h2.Driver
username: sa
password:
h2:
console:
enabled: true
server:
port: 8081
he H2 console should typically be disabled in production environments or protected using proper authentication.
try hitting this again http://localhost:8081/h2-console