# Commerce connector 2.0.0 for big commerce

**URL:** <https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [May 8, 2019, 1:50pm UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040 "2019-05-08T13:50:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![binaykumar.singh](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@binaykumar.singh](https://community.bloomreach.com/u/binaykumar.singh)\
**Post date:** [May 8, 2019, 1:50pm UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/1 "2019-05-08T13:50:56Z")

</div>

Hi

I am creating commerce connector addon for StarterStore 2.0.0. , I have created the module and followed the steps mentioned in following link [https://documentation.bloomreach.com/library/solutions/commerce-starterstore/connector-sdk/how-to-develop-connector.html](https://documentation.bloomreach.com/library/solutions/commerce-starterstore/connector-sdk/how-to-develop-connector.html)

But after adding dependency to starterStore and making this default from channel setting  
I am getting NoSuchBeanDefinitionException from spring in ModuleInstanceImple.java  
“bean = (T) applicationContext.getBean(requiredType);”.

## below is module.xml
 com.born.commercedxp.bison.connectors.bigcommerceconnector classpath\*:META-INF/spring-assembly/addon/com/born/commercedxp/bison/connectors/bigcommerceconnector/\*.xml classpath\*:META-INF/hst-assembly/addon/com/born/commercedxp/bison/connectors/bigcommerceconnector/overrides/\*.xml 

and below is how i have mentioned the bean in base.xml  
-------------

I have compared all the things from democonnector but still facing same issue.

---

<div class="post-metadata">

**Author:** ![woonsanko](https://avatars.discourse-cdn.com/v4/letter/w/b5a626/32.png) [@woonsanko](https://community.bloomreach.com/u/woonsanko)\
**Post date:** [May 8, 2019, 2:44pm UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/2 "2019-05-08T14:44:59Z")

</div>

Hi,

Some check suggestions:

- Did you set the “Module Name” field in your connector document to `com.born.commercedxp.bison.connectors.bigcommerceconnector`?
- Did you make the dependency of your module be included in both cms and site war projects? In other words, can you find your module jar file in cms/WEB-INF/lib/ and site/WEB-INF/lib?

Regards,

Woonsan

---

<div class="post-metadata">

**Author:** ![binaykumar.singh](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@binaykumar.singh](https://community.bloomreach.com/u/binaykumar.singh)\
**Post date:** [May 8, 2019, 4:06pm UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/3 "2019-05-08T16:06:19Z")

</div>

Hi Woonsan

Thanks for the response.  
Yes I have given module name as you have mentioned and jar was only available in cms lib , so i tried making it available in site lib too but still facing same issue.

Regards  
Binay

---

<div class="post-metadata">

**Author:** ![woonsanko](https://avatars.discourse-cdn.com/v4/letter/w/b5a626/32.png) [@woonsanko](https://community.bloomreach.com/u/woonsanko)\
**Post date:** [May 8, 2019, 4:37pm UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/4 "2019-05-08T16:37:09Z")

</div>

Hi Binay,

Could you post the stack trace?

Thanks,

Woonsan

---

<div class="post-metadata">

**Author:** ![binaykumar.singh](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@binaykumar.singh](https://community.bloomreach.com/u/binaykumar.singh)\
**Post date:** [May 8, 2019, 5:00pm UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/5 "2019-05-08T17:00:16Z")

</div>

below is the stack trace from that code

0 = {StackTraceElement@22669} “org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:343)”  
1 = {StackTraceElement@22670} “org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:335)”  
2 = {StackTraceElement@22671} “org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1123)”  
3 = {StackTraceElement@22672} “org.hippoecm.hst.site.addon.module.runtime.ModuleInstanceImpl.getComponent(ModuleInstanceImpl.java:167)”  
4 = {StackTraceElement@22673} “org.hippoecm.hst.site.container.SpringComponentManager.getComponent(SpringComponentManager.java:353)”  
5 = {StackTraceElement@22674} “com.bloomreach.commercedxp.container.connector.provider.DefaultConnectorRepositoryProviderRegistry.getConnectorRepositoryProviderByModuleName(DefaultConnectorRepositoryProviderRegistry.java:30)”  
6 = {StackTraceElement@22675} “sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)”  
7 = {StackTraceElement@22676} “sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)”  
8 = {StackTraceElement@22677} “sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)”  
9 = {StackTraceElement@22678} “java.lang.reflect.Method.invoke(Method.java:498)”  
10 = {StackTraceElement@22679} “org.onehippo.cms7.services.ProxiedServiceHolder.lambda$new$0(ProxiedServiceHolder.java:68)”  
11 = {StackTraceElement@22680} “com.sun.proxy.$Proxy65.getConnectorRepositoryProviderByModuleName(Unknown Source)”  
12 = {StackTraceElement@22681} “com.bloomreach.commercedxp.starterstore.commands.products.FindProductsCommand.doExecuteInternal(FindProductsCommand.java:49)”  
13 = {StackTraceElement@22682} “com.bloomreach.commercedxp.starterstore.commands.AbstractStarterStoreCommand.execute(AbstractStarterStoreCommand.java:47)”  
14 = {StackTraceElement@22683} “org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)”  
15 = {StackTraceElement@22684} “com.bloomreach.commercedxp.starterstore.invokers.DefaultCommerceServiceInvoker.invoke(DefaultCommerceServiceInvoker.java:39)”  
16 = {StackTraceElement@22685} “com.bloomreach.commercedxp.starterstore.components.GenericCommandChainComponent.processRequestInternal(GenericCommandChainComponent.java:52)”  
17 = {StackTraceElement@22686} “com.bloomreach.commercedxp.starterstore.components.GenericCommandChainComponent.doBeforeRender(GenericCommandChainComponent.java:29)”  
18 = {StackTraceElement@22687} “org.hippoecm.hst.core.container.HstComponentInvokerImpl.invokeBeforeRender(HstComponentInvokerImpl.java:151)”  
19 = {StackTraceElement@22688} “sun.reflect.GeneratedMethodAccessor225.invoke(Unknown Source)”  
20 = {StackTraceElement@22689} “sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)”  
21 = {StackTraceElement@22690} “java.lang.reflect.Method.invoke(Method.java:498)”  
22 = {StackTraceElement@22691} “org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)”  
23 = {StackTraceElement@22692} “org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)”  
24 = {StackTraceElement@22693} “org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)”  
25 = {StackTraceElement@22694} “org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)”  
26 = {StackTraceElement@22695} “org.hippoecm.hst.core.logging.HstComponentInvokerProfiler.profile(HstComponentInvokerProfiler.java:60)”  
27 = {StackTraceElement@22696} “sun.reflect.GeneratedMethodAccessor222.invoke(Unknown Source)”  
28 = {StackTraceElement@22697} “sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)”  
29 = {StackTraceElement@22698} “java.lang.reflect.Method.invoke(Method.java:498)”  
30 = {StackTraceElement@22699} “org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)”  
31 = {StackTraceElement@22700} “org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)”  
32 = {StackTraceElement@22701} “org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)”  
33 = {StackTraceElement@22702} “org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)”  
34 = {StackTraceElement@22703} “org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)”  
35 = {StackTraceElement@22704} “org.hippoecm.hst.core.container.PersistableSessionAroundAdvice.invoke(PersistableSessionAroundAdvice.java:68)”  
36 = {StackTraceElement@22705} “sun.reflect.GeneratedMethodAccessor221.invoke(Unknown Source)”  
37 = {StackTraceElement@22706} “sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)”  
38 = {StackTraceElement@22707} “java.lang.reflect.Method.invoke(Method.java:498)”  
39 = {StackTraceElement@22708} “org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)”  
40 = {StackTraceElement@22709} “org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)”  
41 = {StackTraceElement@22710} “org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)”  
42 = {StackTraceElement@22711} “org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)”  
43 = {StackTraceElement@22712} “org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93)”  
44 = {StackTraceElement@22713} “org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)”  
45 = {StackTraceElement@22714} “org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)”  
46 = {StackTraceElement@22715} “com.sun.proxy.$Proxy174.invokeBeforeRender(Unknown Source)”  
47 = {StackTraceElement@22716} “org.hippoecm.hst.core.container.AggregationValve.processWindowsBeforeRender(AggregationValve.java:412)”  
48 = {StackTraceElement@22717} “org.hippoecm.hst.core.container.AggregationValve.invoke(AggregationValve.java:156)”  
49 = {StackTraceElement@22718} “org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288)”  
50 = {StackTraceElement@22719} “org.hippoecm.hst.core.container.ComponentRenderingValve.invoke(ComponentRenderingValve.java:34)”  
51 = {StackTraceElement@22720} “org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288)”  
52 = {StackTraceElement@22721} “com.onehippo.cms7.addon.unipixel.site.container.UniversalPixelContributionValve.invoke(UniversalPixelContributionValve.java:180)”  
53 = {StackTraceElement@22722} “org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288)”  
54 = {StackTraceElement@22723} “org.hippoecm.hst.core.container.PageCachingValve.invoke(PageCachingValve.java:62)”  
55 = {StackTraceElement@22724} “org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288)”  
56 = {StackTraceElement@22725} “org.hippoecm.hst.core.container.ESIPageInfoScanningValve.invoke(ESIPageInfoScanningValve.java:80)”  
57 = {StackTraceElement@22726} “org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288)”  
58 = {StackTraceElement@22727} “org.hippoecm.hst.core.container.PageInfoRenderingValve.invoke(PageInfoRenderingValve.java:50)”  
59 = {StackTraceElement@22728} “org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288)”  
60 = {StackTraceElement@22729} “org.hippoecm.hst.core.container.ResourceServingValve.invoke(ResourceServingValve.java:40)”  
61 = {StackTraceElement@22730} “org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288)”  
62 = {StackTraceElement@22731} “org.hippoecm.hst.core.container.ActionValve.invoke(ActionValve.java:47)”  
63 = {StackTraceElement@22732} “org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288)”  
64 = {StackTraceElement@22733} “org.hippoecm.hst.core.container.LocalizationValve.invoke(LocalizationValve.java:101)”  
65 = {StackTraceElement@22734} “org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288)”  
66 = {StackTraceElement@22735} “org.hippoecm.hst.core.container.ContextResolvingValve.invoke(ContextResolvingValve.java:115)”  
67 = {StackTraceElement@22736} “org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288)”  
68 = {StackTraceElement@22737} “org.hippoecm.hst.core.container.JCRSessionStatefulConcurrencyValve.invoke(JCRSessionStatefulConcurrencyValve.java:56)”  
69 = {StackTraceElement@22738} “org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288)”  
70 = {StackTraceElement@22739} “org.hippoecm.hst.core.container.SubjectBasedSessionValve.invoke(SubjectBasedSessionValve.java:58)”  
71 = {StackTraceElement@22740} “org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288)”  
72 = {StackTraceElement@22741} “org.hippoecm.hst.core.container.SecurityValve.invoke(SecurityValve.java:177)”  
73 = {StackTraceElement@22742} “org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288)”  
74 = {StackTraceElement@22743} “org.hippoecm.hst.core.container.CmsSecurityValve.invoke(CmsSecurityValve.java:59)”  
75 = {StackTraceElement@22744} “org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288)”  
76 = {StackTraceElement@22745} “org.hippoecm.hst.core.container.InitializationValve.invoke(InitializationValve.java:37)”  
77 = {StackTraceElement@22746} “org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288)”  
78 = {StackTraceElement@22747} “org.hippoecm.hst.core.container.HstSitePipeline.invokeValves(HstSitePipeline.java:173)”  
79 = {StackTraceElement@22748} “org.hippoecm.hst.core.container.HstSitePipeline.invoke(HstSitePipeline.java:155)”  
80 = {StackTraceElement@22749} “org.hippoecm.hst.core.container.HstRequestProcessorImpl.processRequest(HstRequestProcessorImpl.java:79)”  
81 = {StackTraceElement@22750} “org.hippoecm.hst.container.HstDelegateeFilterBean.processResolvedSiteMapItem(HstDelegateeFilterBean.java:758)”  
82 = {StackTraceElement@22751} “org.hippoecm.hst.container.HstDelegateeFilterBean.doFilter(HstDelegateeFilterBean.java:418)”  
83 = {StackTraceElement@22752} “org.hippoecm.hst.container.DelegatingFilter.doFilter(DelegatingFilter.java:68)”  
84 = {StackTraceElement@22753} “org.hippoecm.hst.container.HstFilter.doFilter(HstFilter.java:51)”  
85 = {StackTraceElement@22754} “org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)”  
86 = {StackTraceElement@22755} “org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)”  
87 = {StackTraceElement@22756} “org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:147)”  
88 = {StackTraceElement@22757} “org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81)”  
89 = {StackTraceElement@22758} “org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)”  
90 = {StackTraceElement@22759} “org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)”  
91 = {StackTraceElement@22760} “org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)”  
92 = {StackTraceElement@22761} “org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)”  
93 = {StackTraceElement@22762} “org.onehippo.forge.hst.spring.support.session.servlet.HttpSessionDelegatingHttpSessionConfiguration$HttpServletRequestAwareFilter.doFilterInternal(HttpSessionDelegatingHttpSessionConfiguration.java:59)”  
94 = {StackTraceElement@22763} “org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)”  
95 = {StackTraceElement@22764} “org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)”  
96 = {StackTraceElement@22765} “org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)”  
97 = {StackTraceElement@22766} “org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)”  
98 = {StackTraceElement@22767} “org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)”  
99 = {StackTraceElement@22768} “org.hippoecm.hst.container.XSSUrlFilter.doFilter(XSSUrlFilter.java:51)”  
100 = {StackTraceElement@22869} “org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)”  
101 = {StackTraceElement@22870} “org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)”  
102 = {StackTraceElement@22871} “org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)”  
103 = {StackTraceElement@22872} “org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)”  
104 = {StackTraceElement@22873} “org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)”  
105 = {StackTraceElement@22874} “org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)”  
106 = {StackTraceElement@22875} “org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)”  
107 = {StackTraceElement@22876} “org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)”  
108 = {StackTraceElement@22877} “org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)”  
109 = {StackTraceElement@22878} “org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)”  
110 = {StackTraceElement@22879} “org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)”  
111 = {StackTraceElement@22880} “org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)”  
112 = {StackTraceElement@22881} “org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)”  
113 = {StackTraceElement@22882} “org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)”  
114 = {StackTraceElement@22883} “org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)”  
115 = {StackTraceElement@22884} “org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)”  
116 = {StackTraceElement@22885} “org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:791)”  
117 = {StackTraceElement@22886} “org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1417)”  
118 = {StackTraceElement@22887} “org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)”  
119 = {StackTraceElement@22888} “java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)”  
120 = {StackTraceElement@22889} “java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)”  
121 = {StackTraceElement@22890} “org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)”  
122 = {StackTraceElement@22891} “java.lang.Thread.run(Thread.java:748)”

---

<div class="post-metadata">

**Author:** ![woonsanko](https://avatars.discourse-cdn.com/v4/letter/w/b5a626/32.png) [@woonsanko](https://community.bloomreach.com/u/woonsanko)\
**Post date:** [May 8, 2019, 6:31pm UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/6 "2019-05-08T18:31:07Z")

</div>

> [@binaykumar.singh](#):
>
> But after adding dependency to starterStore and making this default from channel setting  
> I am getting NoSuchBeanDefinitionException from spring in ModuleInstanceImple.java  
> “bean = (T) applicationContext.getBean(requiredType);”.

Do you have a bean, of type `c.b.c.api.v2.connector.provider.ConnectorRepositoryProvider` [1] in the xml file, which must be src/main/resources/META-INF/spring-assembly/addon/com/born/commercedxp/bison/connectors/bigcommerceconnector/\*.xml, of your module?

And, can you check if you have the `starterstore-api-x.x.x.jar` file only in `${catalina.base}/shared/lib`, nowhere else.

Regards,

Woonsan

[1] [Develop a New Commerce Connector - Bloomreach Experience Manager (PaaS/Self-Hosted) - The Fast and Flexible Headless CMS](https://documentation.bloomreach.com/library/solutions/commerce-starterstore/connector-sdk/how-to-develop-connector.html)

---

<div class="post-metadata">

**Author:** ![binaykumar.singh](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@binaykumar.singh](https://community.bloomreach.com/u/binaykumar.singh)\
**Post date:** [May 9, 2019, 6:17am UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/7 "2019-05-09T06:17:14Z")

</div>

Hi Woonsan

Inside spring-assembly in base.xml below is the bean I have configured which extends  
com.bloomreach.commercedxp.api.v2.connector.provider.AbstractConnectorRepositoryProvider

## base.xml

\<bean class=“com.born.commercedxp.bison.connectors.bigcommerceconnector.repository.BCConnectorRepositoryProviderImpl”

I verified starterstore-api-x.x.x.jar only available inside shared/lib ,  
still facing same issue.

one more doubt:  
demo-connector is working fine if I follow the document. but if I change module name(which should be unique and should be same in connector module name in cms and in module.xml ) its not able to find the module. So are there any restrictions to define module name which I need to be aware of.

---

<div class="post-metadata">

**Author:** ![giacomolm](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/giacomolm/32/1733_2.png) [@giacomolm](https://community.bloomreach.com/u/giacomolm)\
**Post date:** [May 9, 2019, 7:29am UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/8 "2019-05-09T07:29:50Z")

</div>

Hi, are you re-installing locally (mvn install) your connector module after every change?

---

<div class="post-metadata">

**Author:** ![binaykumar.singh](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@binaykumar.singh](https://community.bloomreach.com/u/binaykumar.singh)\
**Post date:** [May 9, 2019, 8:21am UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/9 "2019-05-09T08:21:28Z")

</div>

If I change something in the module yes I do mvn install.

---

<div class="post-metadata">

**Author:** ![giacomolm](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/giacomolm/32/1733_2.png) [@giacomolm](https://community.bloomreach.com/u/giacomolm)\
**Post date:** [May 9, 2019, 8:36am UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/10 "2019-05-09T08:36:47Z")

</div>

Ok, could you please check if your ~/.m2/repository/com/bloomreach/commercedxp/connectors/ folder contains the latest connector version?

It should contain a folder called something like starterstore-connectors-bigcommerceconnector… can you confirm this?

---

<div class="post-metadata">

**Author:** ![binaykumar.singh](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@binaykumar.singh](https://community.bloomreach.com/u/binaykumar.singh)\
**Post date:** [May 9, 2019, 8:43am UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/11 "2019-05-09T08:43:05Z")

</div>

the package I have used is “com.born.commercedxp.bison.connectors.bigcommerceconnector” and yes jar is available in .m2/repository

---

<div class="post-metadata">

**Author:** ![giacomolm](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/giacomolm/32/1733_2.png) [@giacomolm](https://community.bloomreach.com/u/giacomolm)\
**Post date:** [May 9, 2019, 9:10am UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/12 "2019-05-09T09:10:00Z")

</div>

ok, then once you installed connectors locally, you move to the StarterStore boot folder, then you

- mvn verify (from your starterstore boot folder)
- mvn -Pcargo.run

is this correct?

---

<div class="post-metadata">

**Author:** ![binaykumar.singh](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@binaykumar.singh](https://community.bloomreach.com/u/binaykumar.singh)\
**Post date:** [May 9, 2019, 9:20am UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/13 "2019-05-09T09:20:53Z")

</div>

yes and in channel setting i select that connector as default

---

<div class="post-metadata">

**Author:** ![giacomolm](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/giacomolm/32/1733_2.png) [@giacomolm](https://community.bloomreach.com/u/giacomolm)\
**Post date:** [May 9, 2019, 9:28am UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/14 "2019-05-09T09:28:35Z")

</div>

ok, is your connector document (containing the latest changes for bigcommerce) published?

---

<div class="post-metadata">

**Author:** ![binaykumar.singh](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@binaykumar.singh](https://community.bloomreach.com/u/binaykumar.singh)\
**Post date:** [May 9, 2019, 9:34am UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/15 "2019-05-09T09:34:38Z")

</div>

No, this actually is exact same as demo connector only package names I have changed yet.

I have created new module and followed same classes and configs from demo connector(only names changed) , response is from same static file “demoproducts.json”. No logic changes.

---

<div class="post-metadata">

**Author:** ![giacomolm](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/giacomolm/32/1733_2.png) [@giacomolm](https://community.bloomreach.com/u/giacomolm)\
**Post date:** [May 9, 2019, 10:06am UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/16 "2019-05-09T10:06:40Z")

</div>

Please ensure that your connector document is published (green tick): after publication your commerce connector module becomes active in the system

---

<div class="post-metadata">

**Author:** ![binaykumar.singh](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@binaykumar.singh](https://community.bloomreach.com/u/binaykumar.singh)\
**Post date:** [May 9, 2019, 10:16am UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/17 "2019-05-09T10:16:42Z")

</div>

I did debug and found that module instance is available but while trying to get component from that instance below line not able to load the bean from that module inside ModuleInstanceImpl.java.

applicationContext.getBean(requiredType)

So some how container not getting my class loaded.

And yes I have verified the document to be published.

---

<div class="post-metadata">

**Author:** ![woonsanko](https://avatars.discourse-cdn.com/v4/letter/w/b5a626/32.png) [@woonsanko](https://community.bloomreach.com/u/woonsanko)\
**Post date:** [May 9, 2019, 1:12pm UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/18 "2019-05-09T13:12:58Z")

</div>

Hi Binay,

Can you test it again after changing the maven coordinates (groupId, artifactId and version) of your connector module and update the `dependency` accordingly if you didn’t?

If not working, could you show some contents of the connector jar file like the following?  
Suppose that you have `webapps/cms/WEB-INF/lib/starterstore-connectors-bigcommerce-x.x.x.jar`.

```auto
# print file list of the jar
jar tvf webapps/cms/WEB-INF/lib/starterstore-connectors-bigcommerce-x.x.x.jar

# print module.xml using unzip or you can extract the jar to copy and paste...
unzip -p webapps/cms/WEB-INF/lib/starterstore-connectors-bigcommerce-x.x.x.jar META-INF/hst-assembly/addon/module.xml

# print the beans xml file using unzip or you can extract the jar to copy and paste...
unzip -p webapps/cms/WEB-INF/lib/starterstore-connectors-bigcommerce-x.x.x.jar META-INF/spring-assembly/addon/...../connector-base.xml

```

Regards,

Woonsan

---

<div class="post-metadata">

**Author:** ![woonsanko](https://avatars.discourse-cdn.com/v4/letter/w/b5a626/32.png) [@woonsanko](https://community.bloomreach.com/u/woonsanko)\
**Post date:** [May 9, 2019, 1:22pm UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/19 "2019-05-09T13:22:19Z")

</div>

> [@binaykumar.singh](#):
>
> I did debug and found that module instance is available but while trying to get component from that instance below line not able to load the bean from that module inside ModuleInstanceImpl.java.
> 
> applicationContext.getBean(requiredType)

In your debugger, is the `name` member or `#getName()` property of the `ModuleInstance` the same as what you configured in `<name>...</name>` in the `module.xml` and in your connector cms document?

Woonsan

---

<div class="post-metadata">

**Author:** ![binaykumar.singh](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@binaykumar.singh](https://community.bloomreach.com/u/binaykumar.singh)\
**Post date:** [May 9, 2019, 5:53pm UTC](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040/20 "2019-05-09T17:53:30Z")

</div>

## Hi Woonsan Yes, I able to see the “name” member as I have configured. Below are the details 1)jar tvf webapps\cms\WEB-INF\lib\bigcommerceconnector-2.0.0.jar 0 Thu May 09 15:12:52 IST 2019 META-INF/ 142 Thu May 09 15:12:50 IST 2019 META-INF/MANIFEST.MF 0 Thu May 09 15:12:48 IST 2019 com/ 0 Thu May 09 15:12:48 IST 2019 com/born/ 0 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/ 0 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/ 0 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/ 0 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/ 0 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/model/ 0 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/repository/ 0 Thu May 09 15:12:44 IST 2019 com.born.commercedxp.bison.connectors.bigcommerceconnector/ 0 Thu May 09 15:12:44 IST 2019 META-INF/hst-assembly/ 0 Thu May 09 15:12:44 IST 2019 META-INF/hst-assembly/addon/ 0 Thu May 09 15:12:44 IST 2019 META-INF/spring-assembly.addon.com.born.commercedxp.bison.connectors.bigcommerceconnector/ 2602 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/model/MyDemoCartEntryModel.class 3125 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/model/MyDemoCartModel.class 2038 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/model/MyDemoCategoryModel.class 1595 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/model/MyDemoCustomerModel.class 1581 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/model/MyDemoData.class 1614 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/model/MyDemoMoneyAmount.class 1146 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/model/MyDemoPrice.class 5386 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/model/MyDemoProductItem.class 2062 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/model/MyDemoResponse.class 458 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/MyDemoConstants.class 622 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/repository/BCConnectorRepositoryProviderImpl.class 2582 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/repository/MyDemoAddressRepositoryImpl.class 1141 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/repository/MyDemoCartRepositoryImpl$1.class 7597 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/repository/MyDemoCartRepositoryImpl.class 3794 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/repository/MyDemoCategoryRepositoryImpl.class 4357 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/repository/MyDemoCustomerRepositoryImpl.class 1462 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/repository/MyDemoDataLoader$LazyHolder.class 983 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/repository/MyDemoDataLoader.class 3885 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/repository/MyDemoOrderRepositoryImpl.class 7016 Thu May 09 15:12:48 IST 2019 com/born/commercedxp/bison/connectors/bigcommerceconnector/repository/MyDemoProductRepositoryImpl.class 9457 Thu May 09 15:12:44 IST 2019 com.born.commercedxp.bison.connectors.bigcommerceconnector/demoproducts.json 1168 Thu May 09 15:12:44 IST 2019 META-INF/hst-assembly/addon/module.xml 3534 Thu May 09 15:12:44 IST 2019 META-INF/spring-assembly.addon.com.born.commercedxp.bison.connectors.bigcommerceconnector/base.xml 0 Thu May 09 15:12:54 IST 2019 META-INF/maven/ 0 Thu May 09 15:12:54 IST 2019 META-INF/maven/com.born.commercedxp.bison.connectors/ 0 Thu May 09 15:12:54 IST 2019 META-INF/maven/com.born.commercedxp.bison.connectors/bigcommerceconnector/ 4969 Thu May 09 08:53:20 IST 2019 META-INF/maven/com.born.commercedxp.bison.connectors/bigcommerceconnector/pom.xml 147 Thu May 09 15:12:52 IST 2019 META-INF/maven/com.born.commercedxp.bison.connectors/bigcommerceconnector/pom.properties

## module.xml
 com.born.commercedxp.bison.connectors.bigcommerceconnector classpath\*:META-INF/spring-assembly/addon/com/born/commercedxp/bison/connectors/bigcommerceconnector/\*.xml classpath\*:META-INF/hst-assembly/addon/com/born/commercedxp/bison/connectors/bigcommerceconnector/overrides/\*.xml 
## base.xml
\<?xml version="1.0" encoding="UTF-8"?\>

[Next page](https://community.bloomreach.com/t/commerce-connector-2-0-0-for-big-commerce/1040.md?page=2)
