Skip to Content
0
Feb 05, 2019 at 08:33 AM

Cannot merge namespace, recipe installed is b2c_b2b_acc_oms

1870 Views

After creating extension through module gen(test extension) and following the below steps 1) Add your extension to your D:\TestHybris\hybris\config/localextensions.xml

2) Remove the following extensions from your D:\TestHybris\hybris\config/localextensions.xml yacceleratorfulfilmentprocess,yacceleratorcore,yacceleratorfacades,yacceleratortest,yacceleratorinitialdata,yacceleratorcockpits,yacceleratorstorefront

getting the following error

BUILD FAILED D:\TestHybris\hybris\bin\platform\build.xml:20: The following error occurred while executing this line: D:\TestHybris\hybris\bin\platform\resources\ant\compiling.xml:88: The following error occurred while executing this line: D:\TestHybris\hybris\bin\platform\resources\ant\antmacros.xml:795: The following error occurred while executing this line: D:\TestHybris\hybris\bin\platform\resources\ant\antmacros.xml:798: java.lang.IllegalArgumentException: cannot merge namespace ((testcore)) into (()) due to duplicate attribute 'ApparelProduct.genders(GenderList):((testcore))::YAttributeDescriptor[testcore-items.xml:50(AttributeTagListener)][PROPERTY]' vs 'ApparelProduct.genders(GenderList):((yacceleratorcore))::YAttributeDescriptor[yacceleratorcore-items.xml:50(AttributeTagListener)][PROPERTY]' at de.hybris.bootstrap.typesystem.YNamespace.mergeNamespace(YNamespace.java:297) at de.hybris.bootstrap.typesystem.YTypeSystem.mergeNamespaces(YTypeSystem.java:82)

please suggest how do i fix this error. items.xml of yacceleratorcore and testcore(my extension's items.xml) contains GenderList collection type.