JBAS011445:无法获得持久性提供程序'org.hibernate.ogm.jpa.HibernateOgmPersistence'的适配器 [英] JBAS011445: Failed to get adapter for persistence provider 'org.hibernate.ogm.jpa.HibernateOgmPersistence'

查看:188
本文介绍了JBAS011445:无法获得持久性提供程序'org.hibernate.ogm.jpa.HibernateOgmPersistence'的适配器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试部署一个使用hibernate ogm的应用程序,我总是得到错误无法获得持久性提供程序的适配器'org.hibernate.ogm.jpa.HibernateOgmPersistence'。

I try to deploy an application what uses hibernate ogm and I always get the error "Failed to get adapter for persistence provider 'org.hibernate.ogm.jpa.HibernateOgmPersistence'".

我已经在WILDFLY_HOME / modules / org / hibernate下安装了模块ogm但它没有帮助。

I have installed the module ogm under WILDFLY_HOME/modules/org/hibernate but it didn't help.

我是否需要在独立配置中进行配置。 XML?有人有想法吗?

Do I need to configure something in standalone.xml? Does someone have an idea?

谢谢和最好的问候

推荐答案

我有同样的问题。
通过从 persistence.xml 中删除​​以下行,wildfly确信接受部署:

I had the same problem. By removing the following line from persistence.xml, wildfly got convinced to accept the deployment:

<property name="jboss.as.jpa.adapterModule" value="org.jboss.as.jpa.hibernate:4"/>

我还必须删除交易提供商的任何财产

I also had to remove any property for the transaction provider

这篇关于JBAS011445:无法获得持久性提供程序'org.hibernate.ogm.jpa.HibernateOgmPersistence'的适配器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆