测试的时候出现jpa问题
来源:6-3 数据表及 ORM 过程

走路超爱摔跤
2021-12-13
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘jpaAuditingHandler’: Cannot resolve reference to bean ‘jpaMappingContext’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘jpaMappingContext’: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
写回答
2回答
-
zbbest
2022-06-26
jpa: properties: hibernate.dialect: org.hibernate.dialect.MySQLDialect
012022-06-26 -
张勤一
2021-12-14
同学你好:
这种报错基本就是代码哪里敲错了,导致 Bean 加载、依赖失败,再检查下代码吧
00
相似问题