Skip to Content
1
Former Member
Oct 13, 2015 at 04:16 PM

cannot merge namespace

1172 Views

Hi experts,

While trying to integrate with vivocha, I am facing an issue of "java.lang.IllegalArgumentException: cannot merge namespace ((addoncommon)) into (()) due to duplicate type code 'abstractmediacontainercomponent' : AbstractMediaContainerComponent::((addoncommon))::YComposedType[addoncommon-items.xml:56(ItemTypeTagListener)]<>AbstractMediaContainerComponent::((acceleratorcms))::YComposedType[acceleratorcms-items.xml:661(ItemTypeTagListener)]", .

I analysed the issue as follows: acceleratorcms-items.xml and addoncommon-items.xml , both contain below entry:

itemtype code="AbstractMediaContainerComponent" autocreate="true" generate="true" abstract="true" extends="SimpleCMSComponent" jaloclass="de.hybris.platform.acceleratorcms.jalo.components.AbstractMediaContainerComponent"

How can I keep both the entries in respective items.xml and also save the ant all from failing?