com.sun.ws.rs.ext.RuntimeDelegateImpl error

后端 未结 2 868
我寻月下人不归
我寻月下人不归 2021-02-07 04:19

please help currently I\'m building a system that allowing the restful (jersey 1.12) to be invoked by some webservices (Axis2) the scenario is like this:

client --> w

相关标签:
2条回答
  • 2021-02-07 04:57

    Please add the following dependencies in your maven project which provides the implementation of the RuntimeDelegate

    <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-bundle-jaxrs</artifactId>
            <version>2.7.18</version>
    </dependency>
    
    0 讨论(0)
  • 2021-02-07 05:18

    The com.sun.ws.rs.ext package, and therefore RuntimeDelegateImpl, is contained in the jersey client jar. If you're using maven then add this dependency to your pom.xml (here I'm using jersey client v1.12):

    <dependency>
        <groupId>com.sun.jersey</groupId>
        <artifactId>jersey-client</artifactId>
        <version>1.12</version>
    </dependency>
    
    0 讨论(0)
提交回复
热议问题