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

Extension created using OCC addon converter fails to start

sanoop_sivan
Discoverer
938

Hi experts,

I have created a customb2bocc extension using the b2boccaddon with occ addon converter.

However, after creating the extension, I added this new custom extension into my localextensions.xml. Now I am facing the following issue while server startup.

org.springframework.beans.FatalBeanException: Context hybris Global Context Factory couldn't be created correctly due to, Error creating bean with name 'b2BCartsController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'dataMapper' available.


I think this is because the server tries to load the controllers in my extensions and since they are now not under webmodule, it cannot find the required dependencies.

Basically, i want to customize the B2B Occ Controllers. Am I following the proper approach?

Environment: Sap Commerce 2011 with Spartacus 3.4

Referred: https://help.sap.com/viewer/e5d7cec9064f453b84235dc582b886da/2011/en-US/f7b37faa192d4110bffa10530f1c...

Accepted Solutions (0)

Answers (2)

Answers (2)

serdar_dere_cs
Explorer
0 Likes

I am also interested

0 Likes

am_sanoop Did you get the answer as i am also facing same issue?