Skip to Content

Cannot merge namespace, recipe installed is b2c_b2b_acc_oms

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( at de.hybris.bootstrap.typesystem.YTypeSystem.mergeNamespaces(

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Feb 05, 2019 at 10:43 AM

    Since you have already commented/removed yacceleratorcore, you need to check if there is an extension in your localextensions.xml which depends on yacceleratorcore; because if it is the case, hybris will still try to load yacceleratorcore even if you have not declared it in localextensions.xml.

    If you have already imported the extensions in ee, using a file search for the text <requires-extension name="yacceleratorcore"/>, you can quickly find it out. If you find any such extension, you need to remove/comment it in localextensions.xml. My guess is that you have yacceleratorbackoffice in your localextensions.xml and if it is, please remove/comment it.

    alt text

    Another reason can be that you might have created another extension based on yacceleratorcore, included it in the localextensions.xml and forgot to remove/comment it.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 06, 2019 at 06:40 PM

    Thank you, it works !! :)

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.