Object Store Throwing error in.3.6.2 Runtime

314 views Asked by At

I am migrating my code from 3.5.1 to 3.6.2 and i am also using object store to store all the failed records for some other scenario. I have downloaded the new object store from "install new software"(only community version is available as i have seen, let me know if enterprise version is also released of object store for 3.6.2 runtime) .

When i am running my application my getting below exception

Error creating bean with name 'ObjectStore': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.mule.api.registry.Registry org.mule.modules.objectstore.ObjectStoreConnector.registry; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.mule.api.registry.Registry] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()} And when i am trying to make a separate small utility on object store to test , it is working fine but in my existing code when i am adding object store it is showing above error.

Please Advice,

@TyroneVillaluna

Cheers, BeSolver

1

There are 1 answers

0
Abhi On

Check your project and ensure you are not using Context-scan/spring component scanning or annotation config....

If you are using this then you can try disabling the scanning without mule package...