JaxWS ClassCastException on JBoss

前端 未结 3 983
野趣味
野趣味 2021-01-22 23:08

I\'m using JBoss 5.1.0.GA (for JDK6), and jaxws 2.2.6. When I invoke the webservice, I get the following exception:

java.util.ServiceConfigurationError: j

3条回答
  •  没有蜡笔的小新
    2021-01-22 23:38

    I faced the same issue. I am running JBoss 5.1 EAP along with JDK 1.6_22.

    I did things slightly different. I combined the solution by Carlo plus this solution.

    I created an endorsed folder under $JBOSS_HOME/server//lib/endorsed. I then copied over streambuffer.jar, stax-ex.jar, policy.jar, jaxws-rt.jar, jaxws-api.jar, jaxb-impl.jar, jaxb-api.jar and gmbal-api-only.jar.

    I left the $JBOSS_HOME/lib/endorsed alone.

    Doing this, I was able to get it to work it all to work

提交回复
热议问题