<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Uncommenting python config in nifi.properties makes Nifi crash on startup. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Uncommenting-python-config-in-nifi-properties-makes-Nifi/m-p/384539#M245408</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/109273"&gt;@coelacanth&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Its me again from the first post you read that helped you resolve the first issue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; All I can say is welcome to the club. the good news for you is i already went through this process and got it working - on windows as well- so hopefully I can get you going as well and save you some headache and time. Basically Enabling the Python Extension out of the box on windows is not going to work and Im not sure if there was any testing done on windows before releasing this feature.&amp;nbsp; First, you are right about python3 vs python as there is no such file under python windows and it should be changed to python. The second problem is the &lt;STRONG&gt;bin&lt;/STRONG&gt; folder as it doesnt get created when the python venv&amp;nbsp; gets deployed to the controller folder first when you enable this feature, or when you add any new python extension processor. It seems under windows it creates a folder called &lt;STRONG&gt;Script&lt;/STRONG&gt; where it stores all the python commands (.exe), so all you have to do is basically create the bin folder uder&lt;/P&gt;&lt;P&gt;.\work\python\controller&lt;/P&gt;&lt;P&gt;then copy whatever is under the "&lt;STRONG&gt;Script&lt;/STRONG&gt;" folder to it and restart nifi and hopefully it will work. You only have to do that once for the controller folder but when you add new python processor and the &lt;STRONG&gt;vevn&lt;/STRONG&gt; gets created for it under&lt;/P&gt;&lt;P&gt;\work\python\extensions\[Custom Processor]\2.0.0-SNAPSHOT\&lt;/P&gt;&lt;P&gt;You have to do the same thing of creating the &lt;STRONG&gt;bin&lt;/STRONG&gt; folder and copying whatever in the &lt;STRONG&gt;Script&lt;/STRONG&gt; folder to get it working. Actually the steps I do are the following:&lt;/P&gt;&lt;P&gt;1- Create the Custom processor&lt;/P&gt;&lt;P&gt;2- Copy the custom processor to the python extension folder .\python\extensions&lt;/P&gt;&lt;P&gt;3- Run Nifi the first time to create the &lt;STRONG&gt;Venv&lt;/STRONG&gt; for the new processor under&lt;/P&gt;&lt;P&gt;.\work\python\extensions\[Custom Processor]\2.0.0-SNAPSHOT\&lt;/P&gt;&lt;P&gt;4- once the &lt;STRONG&gt;venv&lt;/STRONG&gt; folder is created, turn nifi &lt;STRONG&gt;OFF&lt;/STRONG&gt; because the custom processor is not going to load correctly and its going to keep saying "installing third party components...".&lt;/P&gt;&lt;P&gt;5- Create the bin folder and copy whatever in the script folder to it&lt;/P&gt;&lt;P&gt;\work\python\extensions\[Custom Processor]\2.0.0-SNAPSHOT\bin&lt;/P&gt;&lt;P&gt;6- Run nifi again. If everything is setup correctly with the processor and there is no compiler error , it will take few mins to download the dependencies ( depends ho many you have) and then it should work.&lt;/P&gt;&lt;P&gt;The Nifi development community needs to fix this bug either internally looking for the script folder aside from the bin folder, or make that configurable in the &lt;STRONG&gt;nifi.properties.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Note about out of the box python extensions: You might have problem getting the dependencies downloaded correctly for the ParseDocument extension. You might need to download those dependencies manually to get it to&amp;nbsp; work and here is another trick for you: if you happen to download those dependencies manually you need to create a file "&lt;STRONG&gt;dependency-download.complete&lt;/STRONG&gt;"&amp;nbsp; with "&lt;STRONG&gt;True&lt;/STRONG&gt;" value inside under the processor path&amp;nbsp;&lt;/P&gt;&lt;P&gt;\work\python\extensions\[Custom Processor]\2.0.0-SNAPSHOT\&lt;/P&gt;&lt;P&gt;to let nifi know that its finished downloading the dependencies and remove the error from the processor.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/57059"&gt;@pvillard&lt;/a&gt;, this is another issue that needs your attention. I mean to write an article about this but did not have the time.&lt;/P&gt;&lt;P&gt;Any way hopefully that is enough info to get you going. let me know if you have any other questions.&lt;/P&gt;&lt;P&gt;If you find this is helpful, please &lt;STRONG&gt;accept&lt;/STRONG&gt; solution.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2024 21:46:51 GMT</pubDate>
    <dc:creator>SAMSAL</dc:creator>
    <dc:date>2024-03-04T21:46:51Z</dc:date>
    <item>
      <title>Uncommenting python config in nifi.properties makes Nifi crash on startup.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Uncommenting-python-config-in-nifi-properties-makes-Nifi/m-p/384535#M245407</link>
      <description>&lt;DIV&gt;Hi.&lt;/DIV&gt;&lt;DIV&gt;I'm trying to use Python extensions with Nifi.&lt;/DIV&gt;&lt;DIV&gt;I've uncommented the line&amp;nbsp; &amp;nbsp;nifi.python.command=python3&amp;nbsp; &amp;nbsp;in nifi.properties but Nifi always crash when I try to run it.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When I re-comment the line, Nifi starts and works fine.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've read this thread&amp;nbsp; &lt;A href="https://community.cloudera.com/t5/Support-Questions/Nifi-2-0-0-M1-Installation-error-with-python/m-p/381430" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Support-Questions/Nifi-2-0-0-M1-Installation-error-with-python/m-p/381430&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;and tried to follow the instructions in the solutions.&lt;/DIV&gt;&lt;DIV&gt;It still crashes.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I'm posting here because the problem is on Windows instead of Linux.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your help!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&lt;FONT face="courier new,courier"&gt;OS&lt;/FONT&gt;&lt;/TD&gt;&lt;TD width="50%"&gt;&lt;FONT face="courier new,courier"&gt;Windows 10 home edition&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&lt;FONT face="courier new,courier"&gt;Nifi version&lt;/FONT&gt;&lt;/TD&gt;&lt;TD width="50%"&gt;&lt;FONT face="courier new,courier"&gt;nifi-2.0.0-M2&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&lt;FONT face="courier new,courier"&gt;Java installed version&lt;/FONT&gt;&lt;/TD&gt;&lt;TD width="50%"&gt;&lt;FONT face="courier new,courier"&gt;21.0.2&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&lt;FONT face="courier new,courier"&gt;Python installed version&lt;/FONT&gt;&lt;/TD&gt;&lt;TD width="50%"&gt;&lt;FONT face="courier new,courier"&gt;3.11.8&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;nifi.properties&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;In&amp;nbsp; &amp;nbsp;nifi.properties&amp;nbsp; &amp;nbsp;I changed the line from&amp;nbsp; &amp;nbsp;nifi.python.command=python3&amp;nbsp; &amp;nbsp;to&amp;nbsp; &amp;nbsp;nifi.python.command=python&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Venv&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;I made sure the python venv package is installed by issuing this command&amp;nbsp; &amp;nbsp;python -m venv&lt;/DIV&gt;&lt;DIV&gt;which gave this message&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear] [--upgrade] [--without-pip] [--prompt PROMPT] [--upgrade-deps] ENV_DIR [ENV_DIR ...]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;venv: error: the following arguments are required: ENV_DIR&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;showing that venv is installed&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Java version&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;java --version&lt;/DIV&gt;&lt;DIV&gt;java 21.0.2 2024-01-16 LTS&lt;/DIV&gt;&lt;DIV&gt;Java(TM) SE Runtime Environment (build 21.0.2+13-LTS-58)&lt;/DIV&gt;&lt;DIV&gt;Java HotSpot(TM) 64-Bit Server VM (build 21.0.2+13-LTS-58, mixed mode, sharing)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Python version&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;python --version&lt;/DIV&gt;&lt;DIV&gt;Python 3.11.8&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;The java_home env variable&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;echo %java_home%&lt;/DIV&gt;&lt;DIV&gt;C:\Program Files\Java\jdk-21&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;python3&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;python3 does not work. There is no python3 command in the python installation folder. Only a .dll :&lt;/DIV&gt;&lt;DIV&gt;dir C:\Users\ASUS\AppData\Local\Programs\Python\Python311&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;DIR&amp;gt; DLLs&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;DIR&amp;gt; Doc&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;DIR&amp;gt; include&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;DIR&amp;gt; Lib&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;DIR&amp;gt; libs&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; LICENSE.txt&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; NEWS.txt&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; python.exe&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; python3.dll&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; python311.dll&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; pythonw.exe&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;DIR&amp;gt; Scripts&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;DIR&amp;gt; tcl&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;DIR&amp;gt; Tools&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; vcruntime140.dll&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; vcruntime140_1.dll&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;That's why I changed the line to&amp;nbsp; &amp;nbsp;nifi.python.command=python&amp;nbsp; &amp;nbsp;in nifi.properties&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;The work/python folder&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;Nothing was copied to the ./work/python/controller/bin folder. The folder is not even existing.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;nifi-bootstrap.log&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;2024-03-04 14:06:43,388 INFO [main] org.apache.nifi.bootstrap.RunNiFi {javaVersion=21.0.2, availableProcessors=12, minimumHeapSize=1g, maximumHeapSize=1g}&lt;/DIV&gt;&lt;DIV&gt;2024-03-04 14:06:43,426 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi...&lt;/DIV&gt;&lt;DIV&gt;2024-03-04 14:06:43,426 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: C:\Users\ASUS\Desktop\m&lt;/DIV&gt;&lt;DIV&gt;2024-03-04 14:06:43,427 INFO [main] org.apache.nifi.bootstrap.Command Command: C:\Program Files\Java\jdk-21\bin\java.exe -classpath C:\Users\ASUS\Desktop\m\.\conf;C:\Users\ASUS\Desktop\m\.\lib\jcl-over-slf4j-2.0.11.jar;C:\Users\ASUS\Desktop\m\.\lib\jul-to-slf4j-2.0.11.jar;C:\Users\ASUS\Desktop\m\.\lib\log4j-over-slf4j-2.0.11.jar;C:\Users\ASUS\Desktop\m\.\lib\logback-classic-1.4.14.jar;C:\Users\ASUS\Desktop\m\.\lib\logback-core-1.4.14.jar;C:\Users\ASUS\Desktop\m\.\lib\nifi-api-2.0.0-M2.jar;C:\Users\ASUS\Desktop\m\.\lib\nifi-framework-api-2.0.0-M2.jar;C:\Users\ASUS\Desktop\m\.\lib\nifi-nar-utils-2.0.0-M2.jar;C:\Users\ASUS\Desktop\m\.\lib\nifi-per-process-group-logging-2.0.0-M2.jar;C:\Users\ASUS\Desktop\m\.\lib\nifi-properties-2.0.0-M2.jar;C:\Users\ASUS\Desktop\m\.\lib\nifi-property-utils-2.0.0-M2.jar;C:\Users\ASUS\Desktop\m\.\lib\nifi-python-framework-api-2.0.0-M2.jar;C:\Users\ASUS\Desktop\m\.\lib\nifi-runtime-2.0.0-M2.jar;C:\Users\ASUS\Desktop\m\.\lib\nifi-server-api-2.0.0-M2.jar;C:\Users\ASUS\Desktop\m\.\lib\nifi-stateless-api-2.0.0-M2.jar;C:\Users\ASUS\Desktop\m\.\lib\nifi-stateless-bootstrap-2.0.0-M2.jar;C:\Users\ASUS\Desktop\m\.\lib\slf4j-api-2.0.11.jar -Xmx1g -Djava.awt.headless=true -Xms1g -Djavax.security.auth.useSubjectCredsOnly=true -Dsun.net.http.allowRestrictedHeaders=true -Djava.protocol.handler.pkgs=sun.net.&lt;A href="http://www.protocol" target="_blank" rel="noopener"&gt;www.protocol&lt;/A&gt; -Dcurator-log-only-first-connection-issue-as-error-level=true -Dnifi.properties.file.path=C:\Users\ASUS\Desktop\m\.\conf\nifi.properties -Dnifi.bootstrap.listen.port=52900 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=C:\Users\ASUS\Desktop\m\bin\..\\logs org.apache.nifi.NiFi&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2024-03-04 14:06:43,433 WARN [main] org.apache.nifi.bootstrap.Command Failed to set permissions so that only the owner can read pid file C:\Users\ASUS\Desktop\m\bin\..\run\nifi.pid; this may allows others to have access to the key needed to communicate with NiFi. Permissions should be changed so that only the owner can read this file&lt;/DIV&gt;&lt;DIV&gt;2024-03-04 14:06:43,437 WARN [main] org.apache.nifi.bootstrap.Command Failed to set permissions so that only the owner can read status file C:\Users\ASUS\Desktop\m\bin\..\run\nifi.status; this may allows others to have access to the key needed to communicate with NiFi. Permissions should be changed so that only the owner can read this file&lt;/DIV&gt;&lt;DIV&gt;2024-03-04 14:06:43,446 INFO [main] org.apache.nifi.bootstrap.Command Application Process [12884] launched&lt;/DIV&gt;&lt;DIV&gt;2024-03-04 14:06:43,914 WARN [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Failed to set permissions so that only the owner can read pid file C:\Users\ASUS\Desktop\m\bin\..\run\nifi.pid; this may allows others to have access to the key needed to communicate with NiFi. Permissions should be changed so that only the owner can read this file&lt;/DIV&gt;&lt;DIV&gt;2024-03-04 14:06:43,918 WARN [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Failed to set permissions so that only the owner can read status file C:\Users\ASUS\Desktop\m\bin\..\run\nifi.status; this may allows others to have access to the key needed to communicate with NiFi. Permissions should be changed so that only the owner can read this file&lt;/DIV&gt;&lt;DIV&gt;2024-03-04 14:06:43,921 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 52901&lt;/DIV&gt;&lt;DIV&gt;2024-03-04 14:07:01,881 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Unsatisfied dependency expressed through method 'setFilterChains' parameter 0: Error creating bean with name 'securityFilterChain' defined in org.apache.nifi.web.security.configuration.WebSecurityConfiguration: Unsatisfied dependency expressed through method 'securityFilterChain' parameter 2: Error creating bean with name 'org.apache.nifi.web.security.configuration.JwtAuthenticationSecurityConfiguration': Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'flowController': FactoryBean threw exception on object creation&lt;/DIV&gt;&lt;DIV&gt;2024-03-04 14:07:01,881 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down...&lt;/DIV&gt;&lt;DIV&gt;2024-03-04 14:07:03,552 INFO [main] org.apache.nifi.bootstrap.RunNiFi NiFi never started. Will not restart NiFi&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;nifi-app.log&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;2024-03-04 14:07:00,427 INFO [main] org.apache.nifi.py4j.PythonProcess Creating Python Virtual Environment .\work\python\controller&lt;BR /&gt;2024-03-04 14:07:00,561 INFO [main] o.apache.nifi.py4j.StandardPythonBridge Shutting down Python Server&lt;BR /&gt;2024-03-04 14:07:00,562 INFO [main] org.apache.nifi.py4j.PythonProcess Shutting down Python Process null&lt;BR /&gt;2024-03-04 14:07:00,563 INFO [main] o.apache.nifi.py4j.StandardPythonBridge Successfully shutdown Python Server&lt;BR /&gt;2024-03-04 14:07:00,577 INFO [main] o.a.n.a.service.EntityStoreAuditService Environment closed&lt;BR /&gt;2024-03-04 14:07:00,580 ERROR [main] o.s.web.context.ContextLoader Context initialization failed&lt;BR /&gt;org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Unsatisfied dependency expressed through method 'setFilterChains' parameter 0: Error creating bean with name 'securityFilterChain' defined in org.apache.nifi.web.security.configuration.WebSecurityConfiguration: Unsatisfied dependency expressed through method 'securityFilterChain' parameter 2: Error creating bean with name 'org.apache.nifi.web.security.configuration.JwtAuthenticationSecurityConfiguration': Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'flowController': FactoryBean threw exception on object creation&lt;BR /&gt;at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:884)&lt;BR /&gt;at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:837)&lt;BR /&gt;at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:145)&lt;BR /&gt;at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:497)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1414)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:518)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973)&lt;BR /&gt;at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:949)&lt;BR /&gt;at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:615)&lt;BR /&gt;at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:394)&lt;BR /&gt;at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:274)&lt;BR /&gt;at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:102)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:1582)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletContextHandler.contextInitialized(ServletContextHandler.java:490)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletHandler.initialize(ServletHandler.java:670)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletContextHandler.startContext(ServletContextHandler.java:1316)&lt;BR /&gt;at org.eclipse.jetty.ee10.webapp.WebAppContext.startContext(WebAppContext.java:1223)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletContextHandler.lambda$doStart$0(ServletContextHandler.java:1042)&lt;BR /&gt;at org.eclipse.jetty.server.handler.ContextHandler$ScopedContext.call(ContextHandler.java:1147)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletContextHandler.doStart(ServletContextHandler.java:1039)&lt;BR /&gt;at org.eclipse.jetty.ee10.webapp.WebAppContext.doStart(WebAppContext.java:496)&lt;BR /&gt;at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121)&lt;BR /&gt;at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:468)&lt;BR /&gt;at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121)&lt;BR /&gt;at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:468)&lt;BR /&gt;at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)&lt;BR /&gt;at org.eclipse.jetty.server.Server.start(Server.java:622)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121)&lt;BR /&gt;at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:468)&lt;BR /&gt;at org.eclipse.jetty.server.Server.doStart(Server.java:563)&lt;BR /&gt;at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)&lt;BR /&gt;at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:773)&lt;BR /&gt;at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:172)&lt;BR /&gt;at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:83)&lt;BR /&gt;at org.apache.nifi.NiFi.main(NiFi.java:332)&lt;BR /&gt;Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'securityFilterChain' defined in org.apache.nifi.web.security.configuration.WebSecurityConfiguration: Unsatisfied dependency expressed through method 'securityFilterChain' parameter 2: Error creating bean with name 'org.apache.nifi.web.security.configuration.JwtAuthenticationSecurityConfiguration': Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'flowController': FactoryBean threw exception on object creation&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:797)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1330)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:558)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:518)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1633)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1597)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1488)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1375)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337)&lt;BR /&gt;at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:876)&lt;BR /&gt;... 44 common frames omitted&lt;BR /&gt;Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.nifi.web.security.configuration.JwtAuthenticationSecurityConfiguration': Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'flowController': FactoryBean threw exception on object creation&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:797)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:236)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1350)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1187)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:558)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:518)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:408)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1330)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:558)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:518)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1417)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:906)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:784)&lt;BR /&gt;... 60 common frames omitted&lt;BR /&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowController': FactoryBean threw exception on object creation&lt;BR /&gt;at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:184)&lt;BR /&gt;at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:120)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1812)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1271)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:312)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1417)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:906)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:784)&lt;BR /&gt;... 83 common frames omitted&lt;BR /&gt;Caused by: java.lang.IllegalStateException: Failed to communicate with Python Controller&lt;BR /&gt;at org.apache.nifi.controller.FlowController.&amp;lt;init&amp;gt;(FlowController.java:581)&lt;BR /&gt;at org.apache.nifi.controller.FlowController.createStandaloneInstance(FlowController.java:411)&lt;BR /&gt;at org.apache.nifi.spring.FlowControllerFactoryBean.getObject(FlowControllerFactoryBean.java:83)&lt;BR /&gt;at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:178)&lt;BR /&gt;... 95 common frames omitted&lt;BR /&gt;Caused by: java.io.IOException: Failed to create Python Environment .\work\python\controller: process existed with code 9009&lt;BR /&gt;at org.apache.nifi.py4j.PythonProcess.setupEnvironment(PythonProcess.java:223)&lt;BR /&gt;at org.apache.nifi.py4j.PythonProcess.start(PythonProcess.java:102)&lt;BR /&gt;at org.apache.nifi.py4j.StandardPythonBridge.start(StandardPythonBridge.java:78)&lt;BR /&gt;at org.apache.nifi.components.ClassLoaderAwarePythonBridge.start(ClassLoaderAwarePythonBridge.java:52)&lt;BR /&gt;at org.apache.nifi.controller.FlowController.&amp;lt;init&amp;gt;(FlowController.java:579)&lt;BR /&gt;... 98 common frames omitted&lt;BR /&gt;2024-03-04 14:07:00,582 WARN [main] o.e.jetty.ee10.webapp.WebAppContext Failed startup of context oeje10w.WebAppContext@4ec427{nifi-api,/nifi-api,b=file:///C:/Users/ASUS/Desktop/m/work/jetty/nifi-web-api-2.0.0-M2.war/webapp/,a=AVAILABLE,h=oeje10s.SessionHandler@714c74eb{STARTED}}{.\work\nar\extensions\nifi-server-nar-2.0.0-M2.nar-unpacked\NAR-INF\bundled-dependencies\nifi-web-api-2.0.0-M2.war}&lt;BR /&gt;org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Unsatisfied dependency expressed through method 'setFilterChains' parameter 0: Error creating bean with name 'securityFilterChain' defined in org.apache.nifi.web.security.configuration.WebSecurityConfiguration: Unsatisfied dependency expressed through method 'securityFilterChain' parameter 2: Error creating bean with name 'org.apache.nifi.web.security.configuration.JwtAuthenticationSecurityConfiguration': Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'flowController': FactoryBean threw exception on object creation&lt;BR /&gt;at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:884)&lt;BR /&gt;at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:837)&lt;BR /&gt;at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:145)&lt;BR /&gt;at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:497)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1414)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:518)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973)&lt;BR /&gt;at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:949)&lt;BR /&gt;at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:615)&lt;BR /&gt;at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:394)&lt;BR /&gt;at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:274)&lt;BR /&gt;at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:102)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:1582)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletContextHandler.contextInitialized(ServletContextHandler.java:490)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletHandler.initialize(ServletHandler.java:670)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletContextHandler.startContext(ServletContextHandler.java:1316)&lt;BR /&gt;at org.eclipse.jetty.ee10.webapp.WebAppContext.startContext(WebAppContext.java:1223)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletContextHandler.lambda$doStart$0(ServletContextHandler.java:1042)&lt;BR /&gt;at org.eclipse.jetty.server.handler.ContextHandler$ScopedContext.call(ContextHandler.java:1147)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletContextHandler.doStart(ServletContextHandler.java:1039)&lt;BR /&gt;at org.eclipse.jetty.ee10.webapp.WebAppContext.doStart(WebAppContext.java:496)&lt;BR /&gt;at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121)&lt;BR /&gt;at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:468)&lt;BR /&gt;at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121)&lt;BR /&gt;at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:468)&lt;BR /&gt;at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)&lt;BR /&gt;at org.eclipse.jetty.server.Server.start(Server.java:622)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121)&lt;BR /&gt;at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:468)&lt;BR /&gt;at org.eclipse.jetty.server.Server.doStart(Server.java:563)&lt;BR /&gt;at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)&lt;BR /&gt;at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:773)&lt;BR /&gt;at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:172)&lt;BR /&gt;at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:83)&lt;BR /&gt;at org.apache.nifi.NiFi.main(NiFi.java:332)&lt;BR /&gt;Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'securityFilterChain' defined in org.apache.nifi.web.security.configuration.WebSecurityConfiguration: Unsatisfied dependency expressed through method 'securityFilterChain' parameter 2: Error creating bean with name 'org.apache.nifi.web.security.configuration.JwtAuthenticationSecurityConfiguration': Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'flowController': FactoryBean threw exception on object creation&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:797)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1330)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:558)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:518)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1633)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1597)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1488)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1375)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337)&lt;BR /&gt;at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:876)&lt;BR /&gt;... 44 common frames omitted&lt;BR /&gt;Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.nifi.web.security.configuration.JwtAuthenticationSecurityConfiguration': Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'flowController': FactoryBean threw exception on object creation&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:797)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:236)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1350)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1187)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:558)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:518)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:408)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1330)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:558)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:518)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1417)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:906)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:784)&lt;BR /&gt;... 60 common frames omitted&lt;BR /&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowController': FactoryBean threw exception on object creation&lt;BR /&gt;at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:184)&lt;BR /&gt;at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:120)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1812)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1271)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:312)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1417)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:906)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:784)&lt;BR /&gt;... 83 common frames omitted&lt;BR /&gt;Caused by: java.lang.IllegalStateException: Failed to communicate with Python Controller&lt;BR /&gt;at org.apache.nifi.controller.FlowController.&amp;lt;init&amp;gt;(FlowController.java:581)&lt;BR /&gt;at org.apache.nifi.controller.FlowController.createStandaloneInstance(FlowController.java:411)&lt;BR /&gt;at org.apache.nifi.spring.FlowControllerFactoryBean.getObject(FlowControllerFactoryBean.java:83)&lt;BR /&gt;at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:178)&lt;BR /&gt;... 95 common frames omitted&lt;BR /&gt;Caused by: java.io.IOException: Failed to create Python Environment .\work\python\controller: process existed with code 9009&lt;BR /&gt;at org.apache.nifi.py4j.PythonProcess.setupEnvironment(PythonProcess.java:223)&lt;BR /&gt;at org.apache.nifi.py4j.PythonProcess.start(PythonProcess.java:102)&lt;BR /&gt;at org.apache.nifi.py4j.StandardPythonBridge.start(StandardPythonBridge.java:78)&lt;BR /&gt;at org.apache.nifi.components.ClassLoaderAwarePythonBridge.start(ClassLoaderAwarePythonBridge.java:52)&lt;BR /&gt;at org.apache.nifi.controller.FlowController.&amp;lt;init&amp;gt;(FlowController.java:579)&lt;BR /&gt;... 98 common frames omitted&lt;BR /&gt;2024-03-04 14:07:01,010 INFO [main] o.e.j.s.h.C._nifi_content_viewer No Spring WebApplicationInitializer types detected on classpath&lt;BR /&gt;2024-03-04 14:07:01,042 INFO [main] o.e.jetty.server.handler.ContextHandler Started oeje10w.WebAppContext@1465914{nifi-content-viewer,/nifi-content-viewer,b=file:///C:/Users/ASUS/Desktop/m/work/jetty/nifi-web-content-viewer-2.0.0-M2.war/webapp/,a=AVAILABLE,h=oeje10s.SessionHandler@2cf29dce{STARTED}}{.\work\nar\extensions\nifi-server-nar-2.0.0-M2.nar-unpacked\NAR-INF\bundled-dependencies\nifi-web-content-viewer-2.0.0-M2.war}&lt;BR /&gt;2024-03-04 14:07:01,045 INFO [main] o.e.j.ee10.servlet.ServletContextHandler Started oeje10w.WebAppContext@1465914{nifi-content-viewer,/nifi-content-viewer,b=file:///C:/Users/ASUS/Desktop/m/work/jetty/nifi-web-content-viewer-2.0.0-M2.war/webapp/,a=AVAILABLE,h=oeje10s.SessionHandler@2cf29dce{STARTED}}{.\work\nar\extensions\nifi-server-nar-2.0.0-M2.nar-unpacked\NAR-INF\bundled-dependencies\nifi-web-content-viewer-2.0.0-M2.war}&lt;BR /&gt;2024-03-04 14:07:01,280 INFO [main] o.e.j.s.h.ContextHandler._nifi_docs No Spring WebApplicationInitializer types detected on classpath&lt;BR /&gt;2024-03-04 14:07:01,301 INFO [main] o.e.jetty.server.handler.ContextHandler Started oeje10w.WebAppContext@7c5eb88c{nifi-docs,/nifi-docs,b=file:///C:/Users/ASUS/Desktop/m/work/jetty/nifi-web-docs-2.0.0-M2.war/webapp/,a=AVAILABLE,h=oeje10s.SessionHandler@2e3c5ecc{STARTED}}{.\work\nar\extensions\nifi-server-nar-2.0.0-M2.nar-unpacked\NAR-INF\bundled-dependencies\nifi-web-docs-2.0.0-M2.war}&lt;BR /&gt;2024-03-04 14:07:01,304 INFO [main] o.e.j.ee10.servlet.ServletContextHandler Started oeje10w.WebAppContext@7c5eb88c{nifi-docs,/nifi-docs,b=file:///C:/Users/ASUS/Desktop/m/work/jetty/nifi-web-docs-2.0.0-M2.war/webapp/,a=AVAILABLE,h=oeje10s.SessionHandler@2e3c5ecc{STARTED}}{.\work\nar\extensions\nifi-server-nar-2.0.0-M2.nar-unpacked\NAR-INF\bundled-dependencies\nifi-web-docs-2.0.0-M2.war}&lt;BR /&gt;2024-03-04 14:07:01,631 INFO [main] o.e.j.server.handler.ContextHandler._nf No Spring WebApplicationInitializer types detected on classpath&lt;BR /&gt;2024-03-04 14:07:01,631 INFO [main] o.e.jetty.server.handler.ContextHandler Started oeje10w.WebAppContext@46199519{nifi-web-frontend,/nf,b=file:///C:/Users/ASUS/Desktop/m/work/jetty/nifi-web-frontend-2.0.0-M2.war/webapp/,a=AVAILABLE,h=oeje10s.SessionHandler@389f4282{STARTED}}{.\work\nar\extensions\nifi-server-nar-2.0.0-M2.nar-unpacked\NAR-INF\bundled-dependencies\nifi-web-frontend-2.0.0-M2.war}&lt;BR /&gt;2024-03-04 14:07:01,635 INFO [main] o.e.j.ee10.servlet.ServletContextHandler Started oeje10w.WebAppContext@46199519{nifi-web-frontend,/nf,b=file:///C:/Users/ASUS/Desktop/m/work/jetty/nifi-web-frontend-2.0.0-M2.war/webapp/,a=AVAILABLE,h=oeje10s.SessionHandler@389f4282{STARTED}}{.\work\nar\extensions\nifi-server-nar-2.0.0-M2.nar-unpacked\NAR-INF\bundled-dependencies\nifi-web-frontend-2.0.0-M2.war}&lt;BR /&gt;2024-03-04 14:07:01,855 INFO [main] o.e.j.server.handler.ContextHandler._ No Spring WebApplicationInitializer types detected on classpath&lt;BR /&gt;2024-03-04 14:07:01,856 INFO [main] o.e.jetty.server.handler.ContextHandler Started oeje10w.WebAppContext@67f5066e{nifi-error,/,b=file:///C:/Users/ASUS/Desktop/m/work/jetty/nifi-web-error-2.0.0-M2.war/webapp/,a=AVAILABLE,h=oeje10s.SessionHandler@14b3976{STARTED}}{.\work\nar\extensions\nifi-server-nar-2.0.0-M2.nar-unpacked\NAR-INF\bundled-dependencies\nifi-web-error-2.0.0-M2.war}&lt;BR /&gt;2024-03-04 14:07:01,860 INFO [main] o.e.j.ee10.servlet.ServletContextHandler Started oeje10w.WebAppContext@67f5066e{nifi-error,/,b=file:///C:/Users/ASUS/Desktop/m/work/jetty/nifi-web-error-2.0.0-M2.war/webapp/,a=AVAILABLE,h=oeje10s.SessionHandler@14b3976{STARTED}}{.\work\nar\extensions\nifi-server-nar-2.0.0-M2.nar-unpacked\NAR-INF\bundled-dependencies\nifi-web-error-2.0.0-M2.war}&lt;BR /&gt;2024-03-04 14:07:01,879 INFO [main] o.eclipse.jetty.server.AbstractConnector Started ServerConnector@5632bed3{SSL, (ssl, alpn, h2, http/1.1)}{127.0.0.1:8443}&lt;BR /&gt;2024-03-04 14:07:01,881 INFO [main] org.eclipse.jetty.server.Server Started oejs.Server@30a9e3db{STARTING}[12.0.5,sto=0] @18427ms&lt;BR /&gt;2024-03-04 14:07:01,881 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down.&lt;BR /&gt;org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Unsatisfied dependency expressed through method 'setFilterChains' parameter 0: Error creating bean with name 'securityFilterChain' defined in org.apache.nifi.web.security.configuration.WebSecurityConfiguration: Unsatisfied dependency expressed through method 'securityFilterChain' parameter 2: Error creating bean with name 'org.apache.nifi.web.security.configuration.JwtAuthenticationSecurityConfiguration': Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'flowController': FactoryBean threw exception on object creation&lt;BR /&gt;at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:884)&lt;BR /&gt;at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:837)&lt;BR /&gt;at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:145)&lt;BR /&gt;at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:497)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1414)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:518)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973)&lt;BR /&gt;at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:949)&lt;BR /&gt;at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:615)&lt;BR /&gt;at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:394)&lt;BR /&gt;at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:274)&lt;BR /&gt;at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:102)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:1582)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletContextHandler.contextInitialized(ServletContextHandler.java:490)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletHandler.initialize(ServletHandler.java:670)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletContextHandler.startContext(ServletContextHandler.java:1316)&lt;BR /&gt;at org.eclipse.jetty.ee10.webapp.WebAppContext.startContext(WebAppContext.java:1223)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletContextHandler.lambda$doStart$0(ServletContextHandler.java:1042)&lt;BR /&gt;at org.eclipse.jetty.server.handler.ContextHandler$ScopedContext.call(ContextHandler.java:1147)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletContextHandler.doStart(ServletContextHandler.java:1039)&lt;BR /&gt;at org.eclipse.jetty.ee10.webapp.WebAppContext.doStart(WebAppContext.java:496)&lt;BR /&gt;at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121)&lt;BR /&gt;at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:468)&lt;BR /&gt;at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121)&lt;BR /&gt;at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:468)&lt;BR /&gt;at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)&lt;BR /&gt;at org.eclipse.jetty.server.Server.start(Server.java:622)&lt;BR /&gt;at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121)&lt;BR /&gt;at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:468)&lt;BR /&gt;at org.eclipse.jetty.server.Server.doStart(Server.java:563)&lt;BR /&gt;at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)&lt;BR /&gt;at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:773)&lt;BR /&gt;at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:172)&lt;BR /&gt;at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:83)&lt;BR /&gt;at org.apache.nifi.NiFi.main(NiFi.java:332)&lt;BR /&gt;Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'securityFilterChain' defined in org.apache.nifi.web.security.configuration.WebSecurityConfiguration: Unsatisfied dependency expressed through method 'securityFilterChain' parameter 2: Error creating bean with name 'org.apache.nifi.web.security.configuration.JwtAuthenticationSecurityConfiguration': Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'flowController': FactoryBean threw exception on object creation&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:797)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1330)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:558)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:518)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1633)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1597)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1488)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1375)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337)&lt;BR /&gt;at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:876)&lt;BR /&gt;... 44 common frames omitted&lt;BR /&gt;Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.nifi.web.security.configuration.JwtAuthenticationSecurityConfiguration': Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'flowController': FactoryBean threw exception on object creation&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:797)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:236)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1350)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1187)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:558)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:518)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:408)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1330)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:558)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:518)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1417)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:906)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:784)&lt;BR /&gt;... 60 common frames omitted&lt;BR /&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowController': FactoryBean threw exception on object creation&lt;BR /&gt;at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:184)&lt;BR /&gt;at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:120)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1812)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1271)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:312)&lt;BR /&gt;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt;at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1417)&lt;BR /&gt;at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:906)&lt;BR /&gt;at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:784)&lt;BR /&gt;... 83 common frames omitted&lt;BR /&gt;Caused by: java.lang.IllegalStateException: Failed to communicate with Python Controller&lt;BR /&gt;at org.apache.nifi.controller.FlowController.&amp;lt;init&amp;gt;(FlowController.java:581)&lt;BR /&gt;at org.apache.nifi.controller.FlowController.createStandaloneInstance(FlowController.java:411)&lt;BR /&gt;at org.apache.nifi.spring.FlowControllerFactoryBean.getObject(FlowControllerFactoryBean.java:83)&lt;BR /&gt;at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:178)&lt;BR /&gt;... 95 common frames omitted&lt;BR /&gt;Caused by: java.io.IOException: Failed to create Python Environment .\work\python\controller: process existed with code 9009&lt;BR /&gt;at org.apache.nifi.py4j.PythonProcess.setupEnvironment(PythonProcess.java:223)&lt;BR /&gt;at org.apache.nifi.py4j.PythonProcess.start(PythonProcess.java:102)&lt;BR /&gt;at org.apache.nifi.py4j.StandardPythonBridge.start(StandardPythonBridge.java:78)&lt;BR /&gt;at org.apache.nifi.components.ClassLoaderAwarePythonBridge.start(ClassLoaderAwarePythonBridge.java:52)&lt;BR /&gt;at org.apache.nifi.controller.FlowController.&amp;lt;init&amp;gt;(FlowController.java:579)&lt;BR /&gt;... 98 common frames omitted&lt;BR /&gt;2024-03-04 14:07:01,882 INFO [Thread-0] org.apache.nifi.NiFi Application Server shutdown started&lt;BR /&gt;2024-03-04 14:07:01,882 INFO [Thread-0] org.eclipse.jetty.server.Server Stopped oejs.Server@30a9e3db{STOPPING}[12.0.5,sto=0]&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Mar 2024 19:32:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Uncommenting-python-config-in-nifi-properties-makes-Nifi/m-p/384535#M245407</guid>
      <dc:creator>coelacanth</dc:creator>
      <dc:date>2024-03-04T19:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Uncommenting python config in nifi.properties makes Nifi crash on startup.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Uncommenting-python-config-in-nifi-properties-makes-Nifi/m-p/384539#M245408</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/109273"&gt;@coelacanth&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Its me again from the first post you read that helped you resolve the first issue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; All I can say is welcome to the club. the good news for you is i already went through this process and got it working - on windows as well- so hopefully I can get you going as well and save you some headache and time. Basically Enabling the Python Extension out of the box on windows is not going to work and Im not sure if there was any testing done on windows before releasing this feature.&amp;nbsp; First, you are right about python3 vs python as there is no such file under python windows and it should be changed to python. The second problem is the &lt;STRONG&gt;bin&lt;/STRONG&gt; folder as it doesnt get created when the python venv&amp;nbsp; gets deployed to the controller folder first when you enable this feature, or when you add any new python extension processor. It seems under windows it creates a folder called &lt;STRONG&gt;Script&lt;/STRONG&gt; where it stores all the python commands (.exe), so all you have to do is basically create the bin folder uder&lt;/P&gt;&lt;P&gt;.\work\python\controller&lt;/P&gt;&lt;P&gt;then copy whatever is under the "&lt;STRONG&gt;Script&lt;/STRONG&gt;" folder to it and restart nifi and hopefully it will work. You only have to do that once for the controller folder but when you add new python processor and the &lt;STRONG&gt;vevn&lt;/STRONG&gt; gets created for it under&lt;/P&gt;&lt;P&gt;\work\python\extensions\[Custom Processor]\2.0.0-SNAPSHOT\&lt;/P&gt;&lt;P&gt;You have to do the same thing of creating the &lt;STRONG&gt;bin&lt;/STRONG&gt; folder and copying whatever in the &lt;STRONG&gt;Script&lt;/STRONG&gt; folder to get it working. Actually the steps I do are the following:&lt;/P&gt;&lt;P&gt;1- Create the Custom processor&lt;/P&gt;&lt;P&gt;2- Copy the custom processor to the python extension folder .\python\extensions&lt;/P&gt;&lt;P&gt;3- Run Nifi the first time to create the &lt;STRONG&gt;Venv&lt;/STRONG&gt; for the new processor under&lt;/P&gt;&lt;P&gt;.\work\python\extensions\[Custom Processor]\2.0.0-SNAPSHOT\&lt;/P&gt;&lt;P&gt;4- once the &lt;STRONG&gt;venv&lt;/STRONG&gt; folder is created, turn nifi &lt;STRONG&gt;OFF&lt;/STRONG&gt; because the custom processor is not going to load correctly and its going to keep saying "installing third party components...".&lt;/P&gt;&lt;P&gt;5- Create the bin folder and copy whatever in the script folder to it&lt;/P&gt;&lt;P&gt;\work\python\extensions\[Custom Processor]\2.0.0-SNAPSHOT\bin&lt;/P&gt;&lt;P&gt;6- Run nifi again. If everything is setup correctly with the processor and there is no compiler error , it will take few mins to download the dependencies ( depends ho many you have) and then it should work.&lt;/P&gt;&lt;P&gt;The Nifi development community needs to fix this bug either internally looking for the script folder aside from the bin folder, or make that configurable in the &lt;STRONG&gt;nifi.properties.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Note about out of the box python extensions: You might have problem getting the dependencies downloaded correctly for the ParseDocument extension. You might need to download those dependencies manually to get it to&amp;nbsp; work and here is another trick for you: if you happen to download those dependencies manually you need to create a file "&lt;STRONG&gt;dependency-download.complete&lt;/STRONG&gt;"&amp;nbsp; with "&lt;STRONG&gt;True&lt;/STRONG&gt;" value inside under the processor path&amp;nbsp;&lt;/P&gt;&lt;P&gt;\work\python\extensions\[Custom Processor]\2.0.0-SNAPSHOT\&lt;/P&gt;&lt;P&gt;to let nifi know that its finished downloading the dependencies and remove the error from the processor.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/57059"&gt;@pvillard&lt;/a&gt;, this is another issue that needs your attention. I mean to write an article about this but did not have the time.&lt;/P&gt;&lt;P&gt;Any way hopefully that is enough info to get you going. let me know if you have any other questions.&lt;/P&gt;&lt;P&gt;If you find this is helpful, please &lt;STRONG&gt;accept&lt;/STRONG&gt; solution.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 21:46:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Uncommenting-python-config-in-nifi-properties-makes-Nifi/m-p/384539#M245408</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2024-03-04T21:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Uncommenting python config in nifi.properties makes Nifi crash on startup.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Uncommenting-python-config-in-nifi-properties-makes-Nifi/m-p/384546#M245412</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;a huge thanks!&lt;BR /&gt;I only tried the bin solution on the&amp;nbsp;work\python\controller and nifi no longer crashes.&lt;BR /&gt;First thing tomorrow I'll try it with a new processor.&lt;BR /&gt;&lt;BR /&gt;Also thanks for the tips about dependencies &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 04:55:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Uncommenting-python-config-in-nifi-properties-makes-Nifi/m-p/384546#M245412</guid>
      <dc:creator>coelacanth</dc:creator>
      <dc:date>2024-03-05T04:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Uncommenting python config in nifi.properties makes Nifi crash on startup.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Uncommenting-python-config-in-nifi-properties-makes-Nifi/m-p/384584#M245421</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created a new python processor following your instructions and it worked.&lt;/P&gt;&lt;P&gt;The in box processors work too.&lt;/P&gt;&lt;P&gt;So I confirm the "Windows bin" solution worked on my side too.&lt;/P&gt;&lt;P&gt;Again thank you for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 15:11:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Uncommenting-python-config-in-nifi-properties-makes-Nifi/m-p/384584#M245421</guid>
      <dc:creator>coelacanth</dc:creator>
      <dc:date>2024-03-05T15:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Uncommenting python config in nifi.properties makes Nifi crash on startup.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Uncommenting-python-config-in-nifi-properties-makes-Nifi/m-p/384585#M245422</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/109273"&gt;@coelacanth&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;My pleasure! Im glad it worked . If you find a better way than having to manually create the bin folder then copy the files from the script folder to it and restarting nifi every time you add new python processor or create the bin folder, please let us know and share. Right now for every python processor I create I have to restart my nifi instance 2 times:&lt;/P&gt;&lt;P&gt;1- Deploy the processor to the canvas so that the venv is created.&lt;/P&gt;&lt;P&gt;2- After the venv is created to copy the files to the bin folder.&lt;/P&gt;&lt;P&gt;I know&amp;nbsp; its possible to create vevn manually under the work folder and get it setup without relying much on Nifi to do it but Im afraid that might interfere with the process and cause other problems.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/57059"&gt;@pvillard&lt;/a&gt;, &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt; , &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp; please if you know better workaround for this let us know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 15:28:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Uncommenting-python-config-in-nifi-properties-makes-Nifi/m-p/384585#M245422</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2024-03-05T15:28:16Z</dc:date>
    </item>
  </channel>
</rss>

