Consider defining a bean named 'entityManagerFactory' in your configuration解决办法

错误信息:maven

***************************
APPLICATION FAILED TO START
***************************

Description:

Field usuarioDao in es.uc3m.tiw.Controladores.Controlador required a bean named 'entityManagerFactory' that could not be found.


Action:

Consider defining a bean named 'entityManagerFactory' in your configuration.

解决:ide

删除 C:\Users\hanfuqingshi\.m2\repository\org\hibernate\hibernate-core目录下的文件,而后maven - update project便可。ui

相关文章
相关标签/搜索