unknownamit7 Posted March 10, 2023 Posted March 10, 2023 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:<servlet><servlet-name>PdfServlet</servlet-name><servlet-class>net.sf.jasperreports.j2ee.servlets.PdfServlet</servlet-class></servlet>it is throwing error: Servlet PdfServlet of type class net.sf.jasperreports.j2ee.servlets.PdfServlet does not implement jakarta.servlet.Servletwhen 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?
anish.rai Posted March 30, 2023 Posted March 30, 2023 Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.
Tirupathi Mangalarapu Posted March 30, 2023 Posted March 30, 2023 Hello There,Please review the build.xml file in the JRL project folder: JasperReports-pro-8.1.0jasperreportsbuild.XMLJasperReports Library supports the following Java JRE versions: <matches string="${java.version}" pattern="1.8.*"/><matches string="${java.version}" pattern="9.*"/><matches string="${java.version}" pattern="10.*"/><matches string="${java.version}" pattern="11.*"/><matches string="${java.version}" pattern="12.*"/>Also based on the application Wildfly version 27, I see Jakarta EE 10 platform is the supported version: https://jakarta.ee/compatibility/download/Here is the link to our platform document that will list all the certified versions of the OS, App server, etc:https://community.jaspersoft.com/documentation/v8-v81-v810/tibco-jaspersoft-platform-support-guide-commercial-editionHope that helps!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now