At com. Itextpdf. Tool. XML. XMLWorker. Same (135) XMLWorker. Java:
At com. Itextpdf. Tool. XML. Parser. XMLParser. Same (XMLParser. Java: 397)
At com. Itextpdf. Tool. XML. Parser. State. ClosingTagState. Process (ClosingTagState. Java: 71)
At com. Itextpdf. Tool. XML. Parser. XMLParser. ParseWithReader (XMLParser. Java: 237)
At com. Itextpdf. Tool. XML. Parser. XMLParser. Parse (XMLParser. Java: 215)
At com. Itextpdf. Tool. XML. Parser. XMLParser. Parse (XMLParser. Java: 176)
At com. Itextpdf. Tool. XML. XMLWorkerHelper. ParseXHtml (XMLWorkerHelper. Java: 222)
At com. Itextpdf. Tool. XML. XMLWorkerHelper. ParseXHtml (XMLWorkerHelper. Java: 230)
At com. Shineyue. Util. Test. The main (28) Test. Java:
CodePudding user response:
Try to use free spire. PDF for Java to transform, refer to https://www.e-iceblue.cn/pdf_java_conversion/java-convert-html-to-pdf.htmlCodePudding user response:
Check whether there is HTML meta closing tagCodePudding user response: