javax.persistence.PersistenceException: >>> Exception [EclipseLink-28018] (Eclipse Persistence Services - >>> 2.0.0.v20091127-r5931): >>> org.eclipse.persistence.exceptions.EntityManagerSetupException >>> Exception Description: Predeployment of PersistenceUnit >>> [xxx-persistence-unit] failed. >>> Internal Exception: Exception [EclipseLink-7174] (Eclipse >>> Persistence Services - 2.0.0.v20091127-r5931): >>> org.eclipse.persistence.exceptions.ValidationException >>> Exception Description: The getter method [method >>> isReturnComposedObjects] on entity class [class >>> xxx.ResponseOptionType] does not have a corresponding setter method >>> defined. >>> at >>> com.sun.enterprise.web.WebApplication.start(WebApplication.java:117) >>>

Oracle Community | 392 Guest | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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 >>> [xxx-persistence-unit] failed. >>> Internal Exception: Exception [EclipseLink-7174] (Eclipse >>> Persistence Services - 2.0.0.v20091127-r5931): >>> org.eclipse.persistence.exceptions.ValidationException >>> Exception Description: The getter method [method >>> isReturnComposedObjects] on entity class [class >>> xxx.ResponseOptionType] does not have a corresponding setter method >>> defined. >>> 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 >>> [xxx-persistence-unit] failed. >>> Internal Exception: Exception [EclipseLink-7174] (Eclipse >>> Persistence Services - 2.0.0.v20091127-r5931): >>> org.eclipse.persistence.exceptions.ValidationException >>> Exception Description: The getter method [method >>> isReturnComposedObjects] on entity class [class >>> xxx.ResponseOptionType] does not have a corresponding setter method >>> defined. >>> 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