wildfly-20-bsp-7.2.0中使用docusign esign java 3.12版时出现问题

dm7nw8vv  于 2021-08-20  发布在  Java
关注(0)|答案(0)|浏览(167)

我们在jboss as-wildfly-20-bsp-7.2.0中使用库docusign esign java版本3.6来管理签名请求。现在,为了使库与上一版本保持一致,我们尝试使用库的3.12版本。我们可以向docusign发送签名请求或查询挂起的签名请求,但在尝试检索签名文件时,调用方法envelopesapi#getdocument,会出现以下错误。
javax.ws.rs.processingexception:resteasy003145:找不到内容类型为application/pdf且类型为[b:javax.ws.rs.processingexception:resteasy003145:找不到内容类型为application/pdf且类型为[b]的messagebodyreaderorg.jboss.resteasy.resteasy-jaxrs@3.12.1.final//org.jboss.resteasy.core.interception.clientreaderinterceptorcontext.ThroCoraderNotFound(clientreaderinterceptorcontext.java:37)位于org.jboss.resteasy.resteasy-jaxrs@3.12.1.final//org.jboss.resteasy.core.interception.abstractreaderinterceptorcontext.getreader(abstractreaderinterceptorcontext.java:80)在org.jboss.resteasy.resteasy-jaxrs@3.12.1.final//org.jboss.resteasy.core.interception.abstractreaderinterceptorcontext.contrace(abstractreaderinterceptorcontext.java:53)位于org.jboss.resteasy.resteasy-jaxrs@3.12.1.final//org.jboss.resteasy.client.jaxrs.internal.clientresponse.readfrom(clientresponse.java:211)位于org.jboss.resteasy.resteasy-jaxrs@3.12.1.final//org.jboss.resteasy.specimpl.builtresponse.readentity(builtresponse.java:88)位于org.jboss.resteasy.resteasy-jaxrs@3.12.1.final//org.jboss.resteasy.specimpl.abstractbuiltresponse.readentity(abstractbuiltresponse.java:270)位于deployment.esop.ear//com.docusign.esign.client.apiclient.deserialize(apiclient.java:1236)位于deployment.esop.ear//com.docusign.esign.client.apiclient.invokeapi(apiclient.java:1424)位于deployment.esop.ear//com.docusign.esign.api.envelopesapi.getdocument(envelesapi.java:4225)位于位于deployment.esop.ear//com.bs.esop.mdl.signature.ds.utils.dssignaturemanagement.getdocument(dssignaturemanagement.java:891)的deployment.esop.ear//com.bs.esop.toolkit.ecm.signature.servlet.asynchdssignatureeventmanagement.run(asynchdssignatureeventmanagement.java:222)ApPo.EOP.EOP.Bo.ECOP .Fase.java调度程序.AsYcExcutoService $ AsYNC Existor 1。部署时调用(AsYcExcutoService,java:374)。ESOP .EAR//COM.BS.ESOP .Fase.Sealth.AssicExpCutoService $ AcycExcExtuor $ 1。java java java语言的基础上调用.java(.asycExputoService,java 188),在java.bas/java. U.I..Real.FurkJojTeCaseAdvestCaldEngule.Excel(FrkJojTeask.java:1448)在Java.Base/java. U.L.Or.FurkJojTask.doExc(FokJojTeask.java:290)ATjava.base/java.util.concurrent.forkjoinpool$workqueue.toplevelexec(forkjoinpool.java:1020)在java.base/java.util.concurrent.forkjoinpool.scan(forkjoinpool.java:1656)在java.base/java.util.concurrent.forkjoinworkerthread.run(forkjoinpool.java:1594)在java.base/java.util.concurrent.forkjoinworkerthread
对于其他类似的问题,我们尝试在jboss-deployment-structure.xml文件中插入exclude指令,例如

<exclusions>
        <module name="org.jboss.resteasy.resteasy-jackson-provider"/>
        <module name="org.jboss.resteasy.resteasy-jackson2-provider"/>
        <module name="org.jboss.resteasy.resteasy-jaxrs"/>
        <module name="org.jboss.resteasy.resteasy-client"/>
        <module name="org.jboss.resteasy.resteasy-client-microprofile"/>
</exclusions>
or
<exclude-subsystems>
        <subsystem name="resteasy" />
</exclude-subsystems>
or
<exclude-subsystems>
        <subsystem name="resteasy-jaxrs" />
</exclude-subsystems>
or
<exclude-subsystems>
        <subsystem name="jaxrs" />
</exclude-subsystems>

但是没有成功。
在前面的exclude中,当jboss as启动时,我们会看到(org.jboss.as.server.deployment)wflysrv0274:excluded dependency org.jboss.resteasy via jboss-deployment-structure.xml不存在。
有没有人可以帮助我在jboss as-wildfly-20-bsp-7.2.0中使用docusign esign java 3.6版?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题