How to make JasperReports work with Jakarta EE or which version is compatible with Jakarta EE?

I'm upgrading my maven application to use spring 6.x from 5.x. Spring 6.x is based on Jakarta EE so accordingly I've updated my dependencies. But with JasperReports I've defined a servlet in web.xml file:


it is throwing error: Servlet PdfServlet of type class net.sf.jasperreports.j2ee.servlets.PdfServlet does not implement jakarta.servlet.Servlet

when I'm trying to run my application on Wildfly 27 app server. I'm using 6.20.0 version of JasperReports library.

Which version of jasperreports support Jakarta EE or if there is no latest release supporting Jakarta EE then any suggestions for a workaround?

unknownamit7's picture
Joined: Mar 10 2023 - 5:16am
Last seen: 5 days 22 hours ago

0 Answers:

No answers yet