spring boot引入JPA,出現a bean named 'entityManagerFactory' that could not be found

原文地址:https://blog.csdn.net/babyyaoyao/article/details/81132016 原文作者的思路是去除spring-boot-start-data-jpa的版本號。 問題的原因就是hibernate的jar包版本衝突。作者的提供的方法不適合我,因爲我本就沒有寫版本號。 所以我把.m2下 org/hibernate/hibernate-core的文件刪除,
相關文章
相關標籤/搜索