使用pdfsign.jar对pdf格式的电子保单加密时报错

sun_008_102 2015-08-12 03:47:35
我使用pdfsign.jar对pdf格式的电子保单加密时报错,有时候报错,重启中间件后就好了(jboss的中间件),具体报错如下,求助各位大神啊!!急,在线等
2015-08-12 15:20:02,796 ERROR [STDERR] java.lang.UnsatisfiedLinkError: cn/org/bjca/sign/PDFSign.getHashValue([B[B[B[I)J
2015-08-12 15:20:02,796 ERROR [STDERR] at cn.org.bjca.sign.PDFSign.signPDF(PDFSign.java:825)
2015-08-12 15:20:02,796 ERROR [STDERR] at com.ulic.gpolicyutils.pdf.PDFSignTools.signPDF(PDFSignTools.java:183)
2015-08-12 15:20:02,796 ERROR [STDERR] at com.ulic.gpolicyutils.pdf.PDFSignTools.simpleSignPDF(PDFSignTools.java:93)
2015-08-12 15:20:02,796 ERROR [STDERR] at com.ulic.gpolicyutils.EPolicyGeneUtils.createEPolidyPdf(EPolicyGeneUtils.java:180)
2015-08-12 15:20:02,796 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2015-08-12 15:20:02,796 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2015-08-12 15:20:02,796 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
2015-08-12 15:20:02,796 ERROR [STDERR] at com.ulic.gpolicyutils.service.impl.GeneEpolicyServiceImp.genePdfByPath(GeneEpolicyServiceImp.java:135)
2015-08-12 15:20:02,796 ERROR [STDERR] at com.ulic.gpolicyutils.service.impl.GeneEpolicyServiceImp.genEPolicyBytes(GeneEpolicyServiceImp.java:303)
2015-08-12 15:20:02,796 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor358.invoke(Unknown Source)
2015-08-12 15:20:02,796 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2015-08-12 15:20:02,796 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
2015-08-12 15:20:02,796 ERROR [STDERR] at frame.service.ServiceProxy.transactionInvoke(ServiceProxy.java:36)
2015-08-12 15:20:02,796 ERROR [STDERR] at frame.service.ServiceProxy.invoke(ServiceProxy.java:28)
2015-08-12 15:20:02,796 ERROR [STDERR] at $Proxy182.genEPolicyBytes(Unknown Source)
2015-08-12 15:20:02,796 ERROR [STDERR] at com.ulic.gpolicyutils.action.DownloadEpolicyAction.execute(DownloadEpolicyAction.java:176)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
2015-08-12 15:20:02,796 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
2015-08-12 15:20:02,796 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
2015-08-12 15:20:02,796 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
2015-08-12 15:20:02,796 ERROR [STDERR] at java.lang.Thread.run(Thread.java:662)
2015-08-12 15:20:02,797 ERROR [STDERR] java.lang.reflect.InvocationTargetException
2015-08-12 15:20:02,797 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor358.invoke(Unknown Source)
2015-08-12 15:20:02,797 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2015-08-12 15:20:02,797 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
2015-08-12 15:20:02,797 ERROR [STDERR] at frame.service.ServiceProxy.transactionInvoke(ServiceProxy.java:36)
2015-08-12 15:20:02,797 ERROR [STDERR] at frame.service.ServiceProxy.invoke(ServiceProxy.java:28)
2015-08-12 15:20:02,797 ERROR [STDERR] at $Proxy182.genEPolicyBytes(Unknown Source)
2015-08-12 15:20:02,797 ERROR [STDERR] at com.ulic.gpolicyutils.action.DownloadEpolicyAction.execute(DownloadEpolicyAction.java:176)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1198)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:416)
2015-08-12 15:20:02,797 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
2015-08-12 15:20:02,797 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:97)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:177)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:111)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:850)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
2015-08-12 15:20:02,797 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
2015-08-12 15:20:02,797 ERROR [STDERR] at java.lang.Thread.run(Thread.java:662)
2015-08-12 15:20:02,797 ERROR [STDERR] Caused by: java.io.FileNotFoundException: (No such file or directory)
2015-08-12 15:20:02,797 ERROR [STDERR] at java.io.FileInputStream.open(Native Method)
2015-08-12 15:20:02,797 ERROR [STDERR] at java.io.FileInputStream.<init>(FileInputStream.java:120)
2015-08-12 15:20:02,797 ERROR [STDERR] at java.io.FileInputStream.<init>(FileInputStream.java:79)
2015-08-12 15:20:02,797 ERROR [STDERR] at com.ulic.gpolicyutils.service.impl.GeneEpolicyServiceImp.genEPolicyBytes(GeneEpolicyServiceImp.java:305)
2015-08-12 15:20:02,797 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor358.invoke(Unknown Source)
2015-08-12 15:20:02,797 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
...全文
128 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
sun_008_102 2015-08-12
  • 打赏
  • 举报
回复
浏览器用https访问的!~
sun_008_102 2015-08-12
  • 打赏
  • 举报
回复
浏览器用https访问的!~
maven到底是什么?    Maven是基于项目对象模型(POM project object model),可以通过一小段描述信息(配置)来管理项目的构建,报告和文档的软件项目管理工具[百度百科]    这种又是大白话,如果没明白maven是什么,那么上面这句话跟没说一样,我自己觉得,Maven的核心功能便是合理叙述项目间的依赖关系,通俗点讲,就是通过pom.xml文件的配置获取jar包,而不用手动去添加jar包,而这里pom.xml文件对于学了一点maven的人来说,就有些熟悉了,怎么通过pom.xml的配置就可以获取到jar包呢?pom.xml配置文件从何而来?等等类似问题我们需要搞清楚,如果需要使用pom.xml来获取jar包,那么首先该项目就必须为maven项目,maven项目可以这样去想,就是在java项目和web项目的上面包裹了一层maven,本质上java项目还是java项目,web项目还是web项目,但是包裹了maven之后,就可以使用maven提供的一些功能了(通过pom.xml添加jar包)。    所以,根据上一段的描述,我们最终的目的就是学会如何在pom.xml中配置获取到我们想要的jar包,在此之前我们就必须了解如何创建maven项目,maven项目的结构是怎样,与普通java,web项目的区别在哪里,还有如何配置pom.xml获取到对应的jar包等等,这里提前了解一下我们如何通过pom.xml文件获取到想要的jar的,具体后面会详细讲解该配置文件。

50,451

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧