org.apache.openjpa packages are not available

The org.apache.openjpa JPA packages are not available to JPA applications that use the WebSphere traditional or Liberty Java EE 7 JPA 2.1 implementation.

When you migrate to JPA 2.1, remove references to the org.apache.openjpa APIs from your application. For maximum portability, use the standard javax.persistence APIs where possible. For information about EclipseLink APIs that you can use instead of the OpenJPA APIs, see the EclipseLink 2.6.0, API Reference.