SpringBoot JPA 異常 SQLGrammarException: Error accessing tables metadata
阿新 • • 發佈:2019-01-31
異常
我的問題 是我使用的資料庫有問題,重新建個數據庫,就可以操作了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