cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to fix ccv2 sla error in ccv2 storefront

Rakesh_kp
Explorer
0 Likes
2,562

I am getting ccv2 sla error in js storefront in ccv2 for OOTB. The BO seems working fine.

Recently being updated to 2211.24 .So it has same error with any versions above 2211.20 Can somebody  if any. one experience similar error.

Accepted Solutions (0)

Answers (3)

Answers (3)

samuelyang
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi @Rakesh_kp 

Looking at the error you shared, it was because you have a duplicate type definition for GenderList in both extensions: yacceleratorcore and myshopcore. Normally you don't need yacceleratorcore any more since you've already created a new extension myshopcore out of the template one. 

Anyway it's a code issue, Please check with your developers for how to resolve the error. Thanks!

samuelyang
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi @Rakesh_kp To build and deploy a JSP storefront, please refer to the following Help doc:

https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/0fa6bcf4736c46f78c248512391eb467/79763857d...

https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/0fa6bcf4736c46f78c248512391eb467/72e126a98...

But I'd highly recommend you to register and attend our CC Admin live session series if you have time and are interested in seeing the live demos and discussions. 

Thanks!

Rakesh_kp
Explorer
0 Likes
HI @samuelyang we did add a custom storefront,say myshop, getting below exception in build, not sure if its a bug or known error.below error-java.lang.IllegalArgumentException: cannot merge namespace ((yacceleratorcore)) into ((<merged>)) due to duplicate type code 'genderlist' : GenderList::((yacceleratorcore))::YCollectionType[yacceleratorcore-items.xml:8(CollectionTypeTagListener)]<>GenderList::((myshopcore))::YCollectionType[myshopcore-items.xml:8(CollectionTypeTagListener)] pl lerte me kw=nw if we have any fix..we are using version 2211.24.
Rakesh_kp
Explorer
0 Likes

it has been working now. We have added the actual storefront property in ccv2 services. Which resolved the issue.

One more thing i want to know is can we add js storefront in composable OOTB  CCV2 and is there any  steps.if  can suggest.

samuelyang
Product and Topic Expert
Product and Topic Expert
Hi Rakesh, We can deploy the jsstorefront app to a CC environment from the CC Cloud Portal, please refer to the below Help doc. https://help.sap.com/docs/SAP_COMMERCE_COMPOSABLE_STOREFRONT/cfcf687ce2544bba9799aa6c8314ecd0/10486f.... This is also covered in our live session https://learning.sap.com/live-sessions/sap-customer-data-cloud-commerce-cloud-integration-essentials.
Rakesh_kp
Explorer
0 Likes
HI, Sorry i mean to say One more thing i want to know is can we add jsp storefront not spartacus one in composable OOTB CCV2 and is there any steps.if can suggest.
cristiano-costa
Product and Topic Expert
Product and Topic Expert
0 Likes

You cannot add JSP pages in composable storefront, but you can use both at the same time in SAP Commerce Cloud, this would be a matter of configuring your code, aspects, and endpoints correctly. For more information, see the question "Can I run composable storefront and an Accelerator storefront at the same time?". Here is the link: https://help.sap.com/docs/SAP_COMMERCE_COMPOSABLE_STOREFRONT/6c7b98dbe68f4a508cac17a207182f4c/36e637...