javax.persistence.PersistenceException: Exception > [EclipseLink-28018] (Eclipse Persistence Services - > 2.0.0.v20091127-r5931): > org.eclipse.persistence.exceptions.EntityManagerSetupException > Exception Description: Predeployment of PersistenceUnit > [omar4-persistence-unit] failed. > Internal Exception: Exception [EclipseLink-7155] (Eclipse Persistence > Services - 2.0.0.v20091127-r5931): > org.eclipse.persistence.exceptions.ValidationException > Exception Description: The type [class > org.freebxml.omar.jaxb.bindings.rim._4_0.InternationalStringType] for > the attribute [description] on the entity class [class > org.freebxml.omar.jaxb.bindings.rim._4_0.RegistryObjectType] is not a > valid type for a serialized mapping. The attribute type must implement > the Serializable interface. > at > com.sun.enterprise.web.WebApplication.start(WebApplication.java:117) >

Oracle Community | 392 Guest | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    The getter method on entity class does not have a corresponding setter method defined

    Oracle Community | 7 years ago | 392 Guest
    javax.persistence.PersistenceException: Exception > [EclipseLink-28018] (Eclipse Persistence Services - > 2.0.0.v20091127-r5931): > org.eclipse.persistence.exceptions.EntityManagerSetupException > Exception Description: Predeployment of PersistenceUnit > [omar4-persistence-unit] failed. > Internal Exception: Exception [EclipseLink-7155] (Eclipse Persistence > Services - 2.0.0.v20091127-r5931): > org.eclipse.persistence.exceptions.ValidationException > Exception Description: The type [class > org.freebxml.omar.jaxb.bindings.rim._4_0.InternationalStringType] for > the attribute [description] on the entity class [class > org.freebxml.omar.jaxb.bindings.rim._4_0.RegistryObjectType] is not a > valid type for a serialized mapping. The attribute type must implement > the Serializable interface. > at > com.sun.enterprise.web.WebApplication.start(WebApplication.java:117) >

    Root Cause Analysis

    1. javax.persistence.PersistenceException

      Exception > [EclipseLink-28018] (Eclipse Persistence Services - > 2.0.0.v20091127-r5931): > org.eclipse.persistence.exceptions.EntityManagerSetupException > Exception Description: Predeployment of PersistenceUnit > [omar4-persistence-unit] failed. > Internal Exception: Exception [EclipseLink-7155] (Eclipse Persistence > Services - 2.0.0.v20091127-r5931): > org.eclipse.persistence.exceptions.ValidationException > Exception Description: The type [class > org.freebxml.omar.jaxb.bindings.rim._4_0.InternationalStringType] for > the attribute [description] on the entity class [class > org.freebxml.omar.jaxb.bindings.rim._4_0.RegistryObjectType] is not a > valid type for a serialized mapping. The attribute type must implement > the Serializable interface. > at > com.sun.enterprise.web.WebApplication.start(WebApplication.java:117) >

      at org.glassfish.internal.data.EngineRef.start()
    2. Private APIs of Glassfish
      EngineRef.start
      1. org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
      1 frame