Glassfish 4 を使用してアプリをデプロイしていますが、次のエラーが発生します。
can not Deploy myapplication
deploy is failing = Error occurred during deployment: Exception while deploying the app [MyApplication]: Exception [EclipseLink-28019] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.EntityManagerSetupException
Exception Description: Deployment of PersistenceUnit [PU] failed. Close all factories for this PersistenceUnit.
Internal Exception: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.IntegrityException
Descriptor Exceptions:
-------------------------------------------------- -------
Runtime Exceptions:
-------------------------------------------------- -------
java.lang.NullPointerException
. Please see server.log for more details.
この問題の原因または解決策をまだ理解できていません。詳細は、次の依存 JPA 実装を使用していることです。
依存関係 groupId> org.eclipse.persistence groupId artifactId eclipselink artifactId version> 2.4.0 バージョンの依存関係
および javax.persistence-2.0.4.v201112161009.jar