Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Error while starting NiFi registry on windows after updating providers.xml

Error while starting NiFi registry on windows after updating providers.xml

Contributor

Failed to start web server: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'accessPolicyResource' defined in file [F:\2019\softwares\nifi-registry-0.5.0-bin\nifi-registry-0.5.0\work\jetty\nifi-registry-web-api-0.5.0.war\webapp\WEB-INF\classes\org\apache\nifi\registry\web\api\AccessPolicyResource.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authorizerFactory' defined in URL [jar:file:/F:/2019/softwares/nifi-registry-0.5.0-bin/nifi-registry-0.5.0/work/jetty/nifi-registry-web-api-0.5.0.war/webapp/WEB-INF/lib/nifi-registry-framework-0.5.0.jar!/org/apache/nifi/registry/security/authorization/AuthorizerFactory.class]: Unsatisfied dependency expressed through constructor parameter 3; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'registryService' defined in URL [jar:file:/F:/2019/softwares/nifi-registry-0.5.0-bin/nifi-registry-0.5.0/work/jetty/nifi-registry-web-api-0.5.0.war/webapp/WEB-INF/lib/nifi-registry-framework-0.5.0.jar!/org/apache/nifi/registry/service/RegistryService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getFlowPersistenceProvider' defined in class path resource [org/apache/nifi/registry/provider/StandardProviderFactory.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.registry.flow.FlowPersistenceProvider]: Factory method 'getFlowPersistenceProvider' threw exception; nested exception is org.apache.nifi.registry.provider.ProviderCreationException: Failed to load a git repository "F:\2019\nifiRegistry"

 

the updated class in the providers.xml is ...

Capture-nifi.PNG

the java version is ..

 

C:\Users\saiteju>java -version
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)

What's wrong from above.

 

Thanks

--Murali

Don't have an account?
Coming from Hortonworks? Activate your account here