Error creating entityManagerFactory due to error tying to scan

后端 未结 6 1689
旧巷少年郎
旧巷少年郎 2020-12-30 05:37

I am following http://spring.io/guides/tutorials/data/3 ; I am not sure what I did wrong, but I keep on getting exceptions that I don\'t understand. I tried searching for q

6条回答
  •  再見小時候
    2020-12-30 06:03

    You do not need to provide beans for EntityManagerFactory and EntityManager. Just provide a bean LocalContainerEntityManagerFactoryBean

提交回复
热议问题