其他分享
首页 > 其他分享> > Error creating bean with name 'entityManagerFactory' defined in class path resource : Invo

Error creating bean with name 'entityManagerFactory' defined in class path resource : Invo

作者:互联网

解决方法如下:

检查添加maven依赖

<dependency>
        <groupId>javax.xml.bind</groupId>
        <artifactId>jaxb-api</artifactId>
        <version>2.3.0</version>
</dependency>

若添加依赖后无效,则可能maven仓库存在多个版本的hibernate-core或者hibernate-entitymanager版本,进入maven仓库删除后重新下载重试

 

https://stackoverflow.com/questions/40058001/error-creating-bean-with-name-entitymanagerfactory-defined-in-class-path-resou

标签:entityManagerFactory,hibernate,resource,creating,defined,maven,bean,path
来源: https://www.cnblogs.com/itachilee/p/13226364.html