小编hel*_*lee的帖子

无法将名称 [org.hibernate.dialect.MYSQL5Dialect] 解析为策略 [org.hibernate.dialect.Dialect]

我是这样配置的,为什么报上面的错误?

spring.jpa.show-sql = true
logging.level.org.springframework.data=DEBUG
spring.jpa.hibernate.ddl-auto=update
spring.datasource.url=jdbc:mysql://localhost:3306/test
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.jpa.hibernate.namingstrategy=org.hibernate.cfg.ImprovedNamingStrategy
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MYSQL5Dialect
Run Code Online (Sandbox Code Playgroud)

java hibernate spring-boot

3
推荐指数
1
解决办法
6912
查看次数

标签 统计

hibernate ×1

java ×1

spring-boot ×1