WebLogic 10.3.6 JPA Transaction Throws NoSuchMethodError: javax.persistence.EntityManagerFactory.getMetamodel()

(Doc ID 1620964.1)

Last updated on JANUARY 19, 2018

Applies to:

Oracle TopLink - Version and later
Information in this document applies to any platform.


Eclipselink JPA application deployed to WebLogic server 10.3.6 experiences a transaction timeout and creates an error stack trace indicating a 'NoSuchMethodError: javax.persistence.EntityManagerFactory.getMetamodel()'.
An Example stack trace is:


The method is described in the Eclipselink JPA 2.0 API documentation:

EclipseLink/Development/JPA 2.0/metamodel API documentation can be found here.



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms