Support Questions

Find answers, ask questions, and share your expertise

Can the spring framework version of nar in the Apache NiFi lib directory be changed by myself?

avatar
Explorer

For example, the spring framework of the official nar package of nifi 1-25.0 is 5.3.31. I changed it to 5.3.33 and I can modify these files /home/servers/nifi-1.25.0/lib/properties/spring-core-5.3 .31 .jar
/home/servers/nifi-1.25.0/lib/properties/spring-aop-5.3.31.jar
/home/servers/nifi-1.25.0/lib/properties/spring-context-5.3.31.jar
/home/servers/nifi-1.25.0/lib/properties/spring-jcl-5.3.31.jar
/home/servers/nifi-1.25.0/lib/properties/spring-beans-5.3.31.jar
/home/servers/nifi-1.25.0/lib/properties/spring-express-5.3.31.jar
Is /home/servers/nifi-1.25.0/lib/properties/spring-web-5.3.31.jar implemented?

 

nar.PNG

Is it possible to modify the spring framework in these nar packages? I tried to modify these, but the result was that the apache nifi service could not be started.

/home/servers/nifi-1.25.0/work/nar/framework/nifi-framework-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-core-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/framework/nifi-framework-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-aop-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/framework/nifi-framework-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-context-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/framework/nifi-framework-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-jcl-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/framework/nifi-framework-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-beans-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/framework/nifi-framework-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-jdbc-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/framework/nifi-framework-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-tx-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/framework/nifi-framework-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-expression-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/framework/nifi-framework-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-web-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/framework/nifi-framework-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-context-support-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-spring-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-core-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-spring-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-aop-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-spring-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-context-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-spring-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-jcl-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-spring-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-beans-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-spring-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-expression-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-redis-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-core-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-redis-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-jcl-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-redis-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-beans-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-hashicorp-vault-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-core-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-hashicorp-vault-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-aop-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-hashicorp-vault-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-context-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-hashicorp-vault-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-jcl-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-hashicorp-vault-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-beans-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-hashicorp-vault-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-expression-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-hashicorp-vault-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-web-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-redis-service-api-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-core-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-redis-service-api-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-aop-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-redis-service-api-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-context-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-redis-service-api-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-jcl-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-redis-service-api-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-oxm-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-redis-service-api-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-beans-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-redis-service-api-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-tx-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-redis-service-api-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-expression-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-redis-service-api-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-context-support-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-kerberos-iaa-providers-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-core-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-kerberos-iaa-providers-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-aop-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-kerberos-iaa-providers-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-context-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-kerberos-iaa-providers-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-jcl-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-kerberos-iaa-providers-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-beans-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-kerberos-iaa-providers-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-tx-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-kerberos-iaa-providers-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-expression-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-email-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-core-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-email-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-aop-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-email-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-context-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-email-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-jcl-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-email-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-beans-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-email-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-messaging-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-email-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-tx-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-email-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-expression-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-email-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-context-support-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-hwx-schema-registry-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-core-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-hwx-schema-registry-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-aop-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-hwx-schema-registry-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-context-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-hwx-schema-registry-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-jcl-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-hwx-schema-registry-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-beans-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-hwx-schema-registry-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-expression-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-jms-processors-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-core-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-jms-processors-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-jcl-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-jms-processors-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-beans-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-jms-processors-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-messaging-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-jms-processors-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-tx-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-jms-processors-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-jms-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-ldap-iaa-providers-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-core-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-ldap-iaa-providers-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-aop-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-ldap-iaa-providers-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-context-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-ldap-iaa-providers-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-jcl-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-ldap-iaa-providers-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-beans-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-ldap-iaa-providers-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-tx-5.3.31.jar

/home/servers/nifi-1.25.0/work/nar/extensions/nifi-ldap-iaa-providers-nar-1.25.0.nar-unpacked/NAR-INF/bundled-dependencies/spring-expression-5.3.31.jar

/home/servers/nifi-1.25.0/lib/properties/spring-core-5.3.31.jar

/home/servers/nifi-1.25.0/lib/properties/spring-aop-5.3.31.jar

/home/servers/nifi-1.25.0/lib/properties/spring-context-5.3.31.jar

/home/servers/nifi-1.25.0/lib/properties/spring-jcl-5.3.31.jar

/home/servers/nifi-1.25.0/lib/properties/spring-beans-5.3.31.jar

/home/servers/nifi-1.25.0/lib/properties/spring-expression-5.3.31.jar

/home/servers/nifi-1.25.0/lib/properties/spring-web-5.3.31.jar

 

 

1 ACCEPTED SOLUTION

avatar
Master Mentor

@whoknows 

The Spring Framework has been upgraded to 5.3.34 as part of the Apache NiFi 1.26 release as outlined in the following jira:
https://issues.apache.org/jira/browse/NIFI-13037

My guess here is that you ran into dependency issues on startup after modifying those individual 1.25 nars?  

I suggest upgrading to 1.26 instead when it is released.

Please help our community thrive. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.

Thank you,
Matt

View solution in original post

3 REPLIES 3

avatar
Master Mentor

@whoknows 

The Spring Framework has been upgraded to 5.3.34 as part of the Apache NiFi 1.26 release as outlined in the following jira:
https://issues.apache.org/jira/browse/NIFI-13037

My guess here is that you ran into dependency issues on startup after modifying those individual 1.25 nars?  

I suggest upgrading to 1.26 instead when it is released.

Please help our community thrive. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.

Thank you,
Matt

avatar
Explorer

When will Apache NiFi 1.26.0 be released?

avatar
Master Mentor

@whoknows 

While there s no exact date yet in the Apache NiFi community, I have seen discussions around it as recent as Apr 8th that suggests it will be happening very soon.  Possibly within the next week or two.

Thank you,
Matt