0
TrainingMstr이라는 엔터티가 있습니다. 테이블에서 일부 필드를 제거하고 엔티티도 업데이트했습니다. 하지만 여전히 다음과 같은 오류가 발생합니다 :org.eclipse.persistence.exceptions.DescriptorException java.lang.NoSuchField 예외가있는 경우
Error occurred during deployment: Exception while preparing the app : Exception [EclipseLink-0] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.IntegrityException
Descriptor Exceptions:
---------------------------------------------------------
Exception [EclipseLink-59] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The instance variable [trngRevNo] is not defined in the domain class [com.discusit.trims.entity.TrainingMstr], or it is not accessible.
Internal Exception: java.lang.NoSuchFieldException: trngRevNo
Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[trngRevNo-->trimsdev.trimsdev.training_mstr.trng_rev_no]
Descriptor: RelationalDescriptor(com.discusit.trims.entity.TrainingMstr --> [DatabaseTable(trimsdev.trimsdev.training_mstr)])
Exception [EclipseLink-59] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The instance variable [trngRefDocNo] is not defined in the domain class [com.discusit.trims.entity.TrainingMstr], or it is not accessible.
Internal Exception: java.lang.NoSuchFieldException: trngRefDocNo
Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[trngRefDocNo-->trimsdev.trimsdev.training_mstr.trng_ref_doc_no]
Descriptor: RelationalDescriptor(com.discusit.trims.entity.TrainingMstr --> [DatabaseTable(trimsdev.trimsdev.training_mstr)])
Exception [EclipseLink-59] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The instance variable [trngAddLinks] is not defined in the domain class [com.discusit.trims.entity.TrainingMstr], or it is not accessible.
Internal Exception: java.lang.NoSuchFieldException: trngAddLinks
Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[trngAddLinks-->trimsdev.trimsdev.training_mstr.trng_add_links]
Descriptor: RelationalDescriptor(com.discusit.trims.entity.TrainingMstr --> [DatabaseTable(trimsdev.trimsdev.training_mstr)])
Exception [EclipseLink-59] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The instance variable [trngNxtRevDt] is not defined in the domain class [com.discusit.trims.entity.TrainingMstr], or it is not accessible.
Internal Exception: java.lang.NoSuchFieldException: trngNxtRevDt
Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[trngNxtRevDt-->trimsdev.trimsdev.training_mstr.trng_nxt_rev_dt]
Descriptor: RelationalDescriptor(com.discusit.trims.entity.TrainingMstr --> [DatabaseTable(trimsdev.trimsdev.training_mstr)])
Exception [EclipseLink-59] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The instance variable [trngInfo] is not defined in the domain class [com.discusit.trims.entity.TrainingMstr], or it is not accessible.
Internal Exception: java.lang.NoSuchFieldException: trngInfo
Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[trngInfo-->trimsdev.trimsdev.training_mstr.trng_info]
Descriptor: RelationalDescriptor(com.discusit.trims.entity.TrainingMstr --> [DatabaseTable(trimsdev.trimsdev.training_mstr)])
Exception [EclipseLink-59] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The instance variable [trngEffctvDt] is not defined in the domain class [com.discusit.trims.entity.TrainingMstr], or it is not accessible.
Internal Exception: java.lang.NoSuchFieldException: trngEffctvDt
Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[trngEffctvDt-->trimsdev.trimsdev.training_mstr.trng_effctv_dt]
Descriptor: RelationalDescriptor(com.discusit.trims.entity.TrainingMstr --> [DatabaseTable(trimsdev.trimsdev.training_mstr)])
Exception [EclipseLink-59] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The instance variable [trngValidTill] is not defined in the domain class [com.discusit.trims.entity.TrainingMstr], or it is not accessible.
Internal Exception: java.lang.NoSuchFieldException: trngValidTill
Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[trngValidTill-->trimsdev.trimsdev.training_mstr.trng_valid_till]
Descriptor: RelationalDescriptor(com.discusit.trims.entity.TrainingMstr --> [DatabaseTable(trimsdev.trimsdev.training_mstr)])
모든 SessionBeans에서 관련된 모든 데이터 필드도 제거했습니다.
어떻게해야합니까?