其他分享
首页 > 其他分享> > ITextRenderer refers to the missing type DocumentException

ITextRenderer refers to the missing type DocumentException

作者:互联网

1、The method createPDF(OutputStream) from the type ITextRenderer refers to the missing type DocumentException异常原因:
html代码生成PDF时的异常,通过查看源码,发现是因为没有导入相应的jar包,“com.lowagie.text”,在maven仓库可以搜索到:https://mvnrepository.com/artifact/org.jsoup/jsoup/1.13.1。
2、html代码生成PDF所需jar包
在这里插入图片描述
在maven仓库中都可以搜索到

标签:代码生成,missing,jar,DocumentException,jsoup,html,refers,type
来源: https://blog.csdn.net/haikuokuangtu/article/details/112600328