on ‎2021 Jul 10 7:48 AM
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
Request clarification before answering.
I am also interested
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
am_sanoop Did you get the answer as i am also facing same issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.