rahulreddy1249 Posted November 20 Share Posted November 20 Upgrading Jasper Reports Engine from 6.3.1 to 6.20.3, getting this error java.lang.NoSuchMethodError: com.lowagie.text.Document.setGlyphSubstitutionEnabled Link to comment Share on other sites More sharing options...
parimalam.viswanath Posted November 22 Share Posted November 22 (edited) I was encountering the same problem. The code issue was thrown within the Jasper: jasperreports-6.20.6.jar!/net/sf/jasperreports/export/pdf/classic/ClassicPdfProducer.class:405 java.lang.NoSuchMethodException: com.lowagie.text.Document.setGlyphSubstitutionEnabled(boolean) Found that openpdf-1.3.30.jaspersoft.3.jar had the necessary method, but was still not getting recognized. Identified that iText-2.1.7.jar also has a similar file structure - but not the method: com\lowagie\text\Document. Removed the conflicting iText-2.1.7 jar file. And the code worked. Hope this helps. Edited November 22 by parimalam.viswanath 1 Link to comment Share on other sites More sharing options...
Mehak Rajkumar Posted Tuesday at 12:15 PM Share Posted Tuesday at 12:15 PM 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. Link to comment Share on other sites More sharing options...
rahulreddy1249 Posted Tuesday at 09:14 PM Author Share Posted Tuesday at 09:14 PM Hello parimalam.viswanath, Thanks for the reply, i added openpdf-1.3.30.jaspersoft.3.jar to the WEB-INF/lib folder and removed the iText-2.1.7.jar, still getting the same error. Do i need to do anything after adding the JAR. Link to comment Share on other sites More sharing options...
Thomas Tibcken Posted 14 hours ago Share Posted 14 hours ago Hi parimalam.viswanath, looks like you souliton worked well on you system - any additional tip for rahulreddy1249? THX for you Support on the Community! Regards TT Link to comment Share on other sites More sharing options...
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