Dhaval, You don’t say which version of Tomcat you are using. You will likely need to update that as well.
Best, Dave Sent from my iPhone > On Jan 5, 2023, at 1:13 AM, Andreas Reichel <[email protected]> > wrote: > > Although there are some small API changes between 3.14 and 5.2.3, > especially CellType and ENUM related. > Nothing serious though, everything can be migrated within minutes. > > Cheers! > >> On Thu, 2023-01-05 at 09:04 +0000, Nick Burch wrote: >>> On Thu, 5 Jan 2023, Dhaval Kaushik wrote: >>> Also, this error only comes on using tomcat and java 17 version. >>> The >>> apache-poi version is 3.14. On upgrading to a higher version it >>> breaks some >>> existing code which is not correct. So is apache-poi not compatible >>> with >>> java 17 in tomcat? >> >> Apache POI 3.14 was released in 2016 - >> https://poi.apache.org/devel/history/changes-3x.html#3.14 >> >> The fact that a version that is almost 7 years old, and predates Java >> 17 >> by almost as long, doesn't work perfectly isn't a huge surprise. You >> need >> to use a more modern release >> >> The latest Apache POI release is 5.2.3, you should try that. There >> are a >> lot of bug fixes in the last 7 years, see >> https://poi.apache.org/changes.html >> for a summary of the recent ones >> >> Nick >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
