我是靠谱客的博主 冷酷宝马,这篇文章主要介绍SpringBoot JPA 异常 SQLGrammarException: Error accessing tables metadata,现在分享给大家,希望可以做个参考。

异常

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.exception.SQLGrammarException: Error accessing tables metadata
我的问题  是我使用的数据库有问题,重新建个数据库,就可以操作了




最后

以上就是冷酷宝马最近收集整理的关于SpringBoot JPA 异常 SQLGrammarException: Error accessing tables metadata的全部内容,更多相关SpringBoot内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(70)

评论列表共有 0 条评论

立即
投稿
返回
顶部