需要用到的jar包:itextpdf-5.5.8.jar 官网 :http://developers.itextpdf.com/downloads 下载 代码如下: 转载于:https://my.oschina.net/dingzebin/blog/955267