Weblogic Server: java.lang.NoSuchMethodError: javax.persistence.Table.indexes()

(Doc ID 2233379.1)

Last updated on MAY 24, 2017

Applies to:

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


When attempting to deploy an application that uses Hibernate JPA 2.1, the following error may be seen:

It was attempted to enable JPA 2.1 by adding the following classes to the system classpath:


as described here: https://docs.oracle.com/middleware/1213/wls/EJBAD/using_toplink.htm#EJBAD1415




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