I am having trouble in figuring out which jar does WebClient class belongs. In CXF 2.7 it was in cxf-bundle.jar, but in 3.0.7 I am unable to find it. I've been looking up jars for 2 hours but couldn't get anything.
Thanks!
I'll post my comment as answer:
Please take a look at:
org/apache/cxf/cxf-rt-rs-client/3.0.7/ cxf-rt-rs-client-3.0.7.jar
I found this JAR by searching http://mvnrepository.com/ for WebClient-Artifact ID (which i found in the API-Docs for CXF):
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-client</artifactId>
<version>3.0.0-milestone1</version>
</dependency>
EDIT:
To find JAR's for specific packages, in most cases google is your friend:
Just google for (for example) org.apache.cxf.transport.servlet.CXFNonSpringServlet
But you can also search/analyze your local JAR's for this String (most ZIP-Tools support searching inside of ZIP/JAR-Files).
I was getting the error package org.apache.cxf.jaxrs.client does not exist,
Added dependecy
org.apache.cxf cxf-rt-rs-client 3.0.0-milestone1
issue resolved
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.