Today, I used ireport to export pdf files. in windows, everything is fine. put it under liunx and export the pdf file to net. sf. jasperreports. engine. util. JRFontNotFoundException: Font & amp; #39; & amp; #39; isnotavailabletotheJVM. seeth .. today, I used ireport to export pdf files. in windows, everything is fine. put it under liunx and export the pdf file to net. sf. jasperreports. engine. util. JRFontNotFoundException: Font 'body' is not available to the JVM. see the Javadoc for more details. solution: 1. copy the required Fonts (you can directly copy the Fonts in C: \ windows \ Fonts of WINDOWS) to the classpath of the current project, usually under the classes directory 2. add jasperreports to the classpath. properties file content: net. sf. jasperreports. awt. ignore. missing. font = true author settler18
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service