My Oracle Support Banner

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 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

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.

 

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.