Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Nifi Version upgrade considering existing jar file as invalid or corrupt jar file

avatar
Expert Contributor

HI Team,

          we have jar executable which is running fine in Nifi 1.15 version  after we upgraded to 1.17 , when we tried to execute that jar its showing as invalid or corrupt jar file.

when we checked java version both nifi and jar executable are on same version i.e. java 8 

however we noticed that jdk versions are different from previous version to latest version

nifi 1.15 having openjdk version 1.8.0_312

Nifi 1.17 having openjdk version jdk1.8.0_332

suspecting this caused issue, however we are not able to update the jar.

 

Can anyone help here what might be the issue here and how we can solve this issue.

 

thanks

1 REPLY 1

avatar
Master Mentor

@PradNiFi1236 

Not much information provided here for investigation use.  

  1. What is the jar that is causing issue?
  2. How is the jar execution being invoked?
  3. What is the full exception being encounter (is there a stack trace with the exception?)
  4. If you install JDK 1.8.0_312 and launch Apache NiFi 1.17 using that JDK version, does the issue persist?

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