spring:
application:
name: hope
datasource:
driver-class-name: org.h2.Driver
username: sa
password:
jpa:
database-platform: org.hibernate.dialect.H2Dialect
hibernate:
ddl-auto: update
properties:
jakarta.persistence.jdbc.url: jdbc:h2:mem:testdb
hibernate.dialect: org.hibernate.dialect.H2Dialect
h2:
console:
enabled: true
path: /h2-console
server:
error:
include-message: always
include-binding-errors: always
抛出此例外:
Https://github.com/ocardenasmartinez1984/hope/blob/main/main/error.txt
这是一个存储库:
Https://github.com/ocardenasmartinez1984/hope男人正在发生什么?
我克隆了您的github repository并将您的应用程序更改为最低,应用程序启动而无需警告/错误
spring:
application:
name: hope
jpa:
hibernate:
ddl-auto: update
h2:
console:
enabled: true