Use the jasperreports report to generate a pdf document that cannot display Chinese characters. How can this problem be solved? jasperreportspdf
In the jrxml and jasper files generated using the jasperreports5.6.0 series of development tools, the jar packages related to fonts in pdf are as follows:
IText-2.1.7.js2.jar; iTextAsian. jar.
When designing a jrxml file, pay attention to setting the attribute values of elements (such as Text Field and Static Text.
Java calls jasperreport to generate a Pdf report. Currently, fields of the String type can be displayed normally.
This indicates that this big data type is not supported here. during compilation, BigDecimal occupies a large number of bytes and overflow occurs during interpretation. As a result, a compilation problem occurs and the class cannot be generated, an error occurred in subsequent calls .. Change the type ..
An error occurred when using JasperReport + iReport to generate a report. Please take a look.
The date format is incorrect. Try to convert the string.
'2017-01-01 'format