gpt4 book ai didi

java - CXF - Webstart 的 ClassCastException (SEIStub/ClientProxy)

转载 作者:太空宇宙 更新时间:2023-11-04 06:53:52 27 4
gpt4 key购买 nike

我也有同样的问题: CXF - ClassCastException (SEIStub/ClientProxy)

但它是独立的java应用程序。从 webstart jnlp 文件开始。是否有针对 webstart 的解决方案(例如 delegate=false)?

Jnlp 文件如下:

<jnlp spec="1.0+" codebase="http://codebase.com/jars/">
<information>
<title>Java application</title>
<vendor>Me</vendor>
<icon href="splash.png" kind="splash"/>
<offline-allowed/>
<shortcut online="false">
<menu submenu="Java application"/>
</shortcut>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+" initial-heap-size="128m" max-heap-size="1024m"/>
<jar href="xpp3_min-1.1.4c.jar"/>
<jar href="joda-time-1.6.2.jar"/>
<jar href="xstream-1.4.7.jar"/>
<jar href="xmlpull-1.1.3.1.jar"/>
<jar href="log4j-1.2.16.jar"/>
<jar href="commons-logging-1.1.1.jar"/>
<jar href="commons-lang-2.5.jar"/>
<jar href="swing-layout-1.0.3.jar"/>
<jar href="cxf-rt-frontend-jaxws-2.7.10.jar"/>
<jar href="cxf-2.7.10.jar"/>
<jar href="geronimo-jaxws_2.2_spec-1.1.jar"/>
<jar href="jaxb-api-2.2.6.jar"/>
<jar href="jaxb-impl-2.2.6.jar"/>
<jar href="neethi-3.0.3.jar"/>
<jar href="stax2-api-3.1.1.jar"/>
<jar href="woodstox-core-asl-4.2.0.jar"/>
<jar href="wsdl4j-1.6.3.jar"/>
<jar href="xmlschema-core-2.1.0.jar "/>
<jar href="hessian-4.0.7.jar"/>
<jar href="waffle-jna-1.5.jar"/>
<jar href="jna-3.5.0.jar"/>
<jar href="platform-3.5.0.jar"/>
<jar href="my.jar" main="true"/>
<property name="jnlp.property" value="propertyValue"/>
</resources>
<application-desc main-class="mypackage.MainClass"/>
</jnlp>

最佳答案

你能告诉我 cxf-2.7.10.jar 是否是 CXF 的全部内容吗?如果是这样,您不需要包含 cxf-rt-frontend-jaxws-2.7.10.jar。

关于java - CXF - Webstart 的 ClassCastException (SEIStub/ClientProxy),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23008323/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com