itext报错PdfReader not opened with owner password
来源:互联网 发布:塞班宝软网java 编辑:程序博客网 时间:2024/06/05 19:08
这几天采用itext2.1.7来合并pdf,说实话itext确实比pdfbox强大但是收费,但是2.X和4.X老版本不收费,哈哈。另外没有官方文档,如果你用pdfbox解决不了问题可以尝试itext。
我用2.1.7来合并2.0.7产生的pdf单页。报如下错误:
Exception in thread "main" java.lang.IllegalArgumentException: PdfReader not opened with owner password
at com.lowagie.text.pdf.PdfReaderInstance.getImportedPage(Unknown Source)at com.lowagie.text.pdf.PdfCopy.getImportedPage(Unknown Source)
网上找了下原因,在此记录下,只需要你找到itext2.0.2即可解决上述问题。没有任何问题。
0 0
- itext报错PdfReader not opened with owner password
- itext PDF 分页 并 解决PdfReader not opened with owner password
- itext生成PDF文件报错“Font 'STSong-Light' with 'UniGB-UCS2-H' is not recognized.”
- Xcode 更新报错 "The File can not be opened"
- itext生成pdf加了iTextAsian.jar还是报“Font 'STSong-Light' with 'UniGB-UCS2-H' is not re“
- iText中文,报错解决
- iText中文,报错解决
- itext setEncryption报错问题
- eclipse项目报错怎么解决class path resource [beans.xml] cannot be opened because it does not exist
- cdh集群启动服务报错Permission denied. user=hbase is not the owner of inode=hbase-staging
- current thread not owner
- cloudera安装过程报错:Your password does not satisfy the current policy requirements
- linux mysql 报错 ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
- yum报错"This system is not registered with RHN"
- yum报错"This system is not registered with RHN"
- 报错(Error:Configuration with name 'default' not found.)
- 报错(Error:Configuration with name 'default' not found.)
- can not connect to linux server with ssh without password
- 致胡须
- 求1+2+…+n
- 在服务器端判断request来自Ajax请求(异步)还是传统请求(同步)
- Leetcode之Multiply Strings
- MMORGP大型游戏设计与开发(客户端架构 part16 of vegine)
- itext报错PdfReader not opened with owner password
- 系统构架设计应考虑的因素
- 文件最近替换算法
- 国大药房-移动支付仅仅是一个开始
- Context.getDir
- android 设置默认launcher 附上代码
- 文件替换
- awk脚本 模式匹配语句 ~匹配运算符 !~不匹配运算符
- 有序线性表合并的算法