CXF - ClassCastException (SEIStub/ClientProxy)

后端 未结 7 1637
时光说笑
时光说笑 2020-12-10 14:05

I\'m trying to build a client jar file to access a webservice. I\'m including the jar in a servlet/war that makes the client webservice calls. I\'m getting the following e

7条回答
  •  难免孤独
    2020-12-10 14:30

    This error also happened while migrating to sbt 1.3.6 with OpenJdk 11.

    But acually I was using:

    "com.sun.xml.ws" % "jaxws-ri" % "xxx"
    

    and replacing with apache's jaxws fixes the error:

    "org.apache.cxf" % "cxf-rt-frontend-jaxrs" % "3.3.0"
    

提交回复
热议问题