• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

BSSV JP040000 build failing with error:Two classes have the same XML type name

Hi,

Upgrading E900 TR- 8.98.46 to E920 TR-9.2.3.4 ,In standard BSSV JP040000 Internal BSSV J0400001custom code has been added ,after retrofit custom code server and local WLS deployment is failing. Kindly share any sollution.

added class :
private PurchaseOrderKey purchaseOrderKey = new PurchaseOrderKey() importing from oracle.e1.bssv.JP090000.valueobject.PurchaseOrderKey;

deployment error-

[exec] Caused by: com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
[exec] Two classes have the same XML type name "{http://oracle.e1.bssv.JP040000/}purchaseOrderKey". Use @XmlType.name and @XmlType.namespace to assign different names to them.
[exec] this problem is related to the following location:
[exec] at oracle.e1.bssv.JP040000.valueobject.PurchaseOrderKey
[exec] at public oracle.e1.bssv.JP040000.valueobject.PurchaseOrderKey oracle.e1.bssv.JP040000.valueobject.Voucher.getPurchaseOrderKey()
[exec] at oracle.e1.bssv.JP040000.valueobject.Voucher
[exec] at public oracle.e1.bssv.JP040000.valueobject.Voucher[] oracle.e1.bssv.JP040000.valueobject.ProcessVoucherDetailV2.getVoucher()
[exec] at oracle.e1.bssv.JP040000.valueobject.ProcessVoucherDetailV2
[exec] at public oracle.e1.bssv.JP040000.valueobject.ProcessVoucherDetailV2 oracle.e1.bssv.JP040000.valueobject.ProcessVoucherHeaderV2.getProcessVoucherDetail()
[exec] at oracle.e1.bssv.JP040000.valueobject.ProcessVoucherHeaderV2
[exec] at public oracle.e1.bssv.JP040000.valueobject.ProcessVoucherHeaderV2 oracle.e1.bssv.JP040000.valueobject.ProcessVoucherV2.getProcessVoucherHeader()
[exec] at oracle.e1.bssv.JP040000.valueobject.ProcessVoucherV2
[exec] this problem is related to the following location:
[exec] at oracle.e1.bssv.JP090000.valueobject.PurchaseOrderKey
[exec] at public oracle.e1.bssv.JP090000.valueobject.PurchaseOrderKey oracle.e1.bssv.JP040000.valueobject.GLDistribution.getPurchaseOrderKey()
[exec] at oracle.e1.bssv.JP040000.valueobject.GLDistribution
[exec] at public oracle.e1.bssv.JP040000.valueobject.GLDistribution[] oracle.e1.bssv.JP040000.valueobject.ProcessVoucherDetail.getGlDistribution()
[exec] at oracle.e1.bssv.JP040000.valueobject.ProcessVoucherDetail
[exec] at public oracle.e1.bssv.JP040000.valueobject.ProcessVoucherDetail oracle.e1.bssv.JP040000.valueobject.ProcessVoucherHeader.getProcessVoucherDetail()
[exec] at oracle.e1.bssv.JP040000.valueobject.ProcessVoucherHeader
[exec] at public oracle.e1.bssv.JP040000.valueobject.ProcessVoucherHeader oracle.e1.bssv.JP040000.valueobject.ProcessVoucher.getProcessVoucherHeader()
[exec] at oracle.e1.bssv.JP040000.valueobject.ProcessVoucher
 
Top