org.apache.nifi.registry.provider.flow.git.GitFlowPersistenceProvider-上下文初始化期间遇到的异常

时间:2020-09-17 09:52:36

标签: apache-nifi apache-nifi-registry

我正在安装nifi-registry 0.6.0,并且在启动应用程序之前,我正在/ conf中更新provider.xml以将所有流数据保存到git repo中。 org.apache.nifi.registry.provider.flow.git.GitFlowPersistenceProvider / opt / nifi-registry / nifi-registry-current / versioned_flow 起源

当我尝试启动应用程序./nifi-registry.sh时,它总是失败并显示以下错误。看起来它仍然指向./flow_storage,而不阅读最新的provider.xml中提供的配置。

org.springframework.beans.factory.UnsatisfiedDependencyException:在文件[/ opt / nifi-registry / nifi-registry-current / work / jetty / nifi-registry-web-api-中定义的名称为'accessPolicyResource'的bean创建时出错0.6.0.war / webapp / WEB-INF / classes / org / apache / nifi / registry / web / api / AccessPolicyResource.class]:通过构造函数参数0表示的不满意依赖关系;嵌套的异常是org.springframework.beans.factory.UnsatisfiedDependencyException:在URL [jar:file:/ opt / nifi-registry / nifi-registry-current / work / jetty / nifi-registry-中创建名称为'authorizerFactory'的bean时出错web-api-0.6.0.war / webapp / WEB-INF / lib / nifi-registry-framework-0.6.0.jar!/org/apache/nifi/registry/security/authorization/AuthorizerFactory.class]:不满意的依赖关系通过构造函数参数3表示;嵌套的异常是org.springframework.beans.factory.UnsatisfiedDependencyException:在URL [jar:file:/ opt / nifi-registry / nifi-registry-current / work / jetty / nifi-registry-中创建名称为'registryService'的bean时出错web-api-0.6.0.war / webapp / WEB-INF / lib / nifi-registry-framework-0.6.0.jar!/org/apache/nifi/registry/service/RegistryService.class]:不满意的依存关系通过构造函数参数1;嵌套的异常是org.springframework.beans.factory.BeanCreationException:创建在类路径资源[org / apache / nifi / registry / provider / StandardProviderFactory.class]中定义的名称为'getFlowPersistenceProvider'的bean时出错:通过工厂方法的Bean实例化失败;嵌套的异常是org.springframework.beans.BeanInstantiationException:无法实例化[org.apache.nifi.registry.flow.FlowPersistenceProvider]:工厂方法'getFlowPersistenceProvider'引发了异常;嵌套的异常是org.apache.nifi.registry.provider.ProviderCreationException:无法加载git存储库./flow_storage 在org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:769) 在org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:218)处 在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1340)处 在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1186) 在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) 在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)处 在org.springframework.beans.factory.support.AbstractBeanFactory.lambda $ doGetBean $ 0(AbstractBeanFactory.java:320) 在org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 在org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) 在org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)

0 个答案:

没有答案
相关问题