Websphere HibernatePersistence incompatible with PersistenceProvider

后端 未结 2 658
孤独总比滥情好
孤独总比滥情好 2021-01-17 01:10

Websphere v8.5.5 supports JPA 2.0 out of the box.

I am trying to deploy a WAR to a Websphere v8.5.5 application server. My persistence.xml specifies org.hibern

2条回答
  •  伪装坚强ぢ
    2021-01-17 01:57

    The problem was hibernate-jpa-2.0-api-1.0.1.Final.jar.

    My understanding of the linked articles was that I should be including this JAR with my application. However, by removing this JAR the class cast exception has gone away.

提交回复
热议问题