对象存储投掷错误在.3.6.2运行时

时间:2015-08-22 18:41:13

标签: mule esb persistent-object-store

我正在将我的代码从3.5.1迁移到3.6.2,并且我还使用对象存储来存储所有其他方案的失败记录。我已经从"安装新软件"下载了新的对象存储库(只有社区版本可用,我已经看过,如果企业版本也发布了3.6.2运行时的对象存储,请告诉我)。

当我运行我的应用程序时,我得到以下异常

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()} 当我试图在对象存储上创建一个单独的小实用程序进行测试时,它工作正常但在我现有的代码中,当我添加对象存储时,它显示上面的错误。

请咨询,

@TyroneVillaluna

干杯, BeSolver

1 个答案:

答案 0 :(得分:0)

检查您的项目并确保您没有使用上下文扫描/弹簧组件扫描或注释配置....

如果您正在使用此功能,那么您可以尝试在没有mule包的情况下禁用扫描...

相关问题