java.lang.RuntimeException: java.lang.ClassCastException: org.apache.cxf.jaxrs.client.ClientProviderFactory cannot be cast to org.apache.cxf.jaxrs.client.ClientProviderFactory

liferay.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    JAX-RS Client in Liferay 7 - Community Forums | Liferay

    liferay.com | 6 months ago
    java.lang.RuntimeException: java.lang.ClassCastException: org.apache.cxf.jaxrs.client.ClientProviderFactory cannot be cast to org.apache.cxf.jaxrs.client.ClientProviderFactory
  2. 0

    Issue connecting to remote consul endpoint

    GitHub | 1 year ago | alex-glv
    com.orbitz.consul.ConsulException: Error connecting to Consul

    Root Cause Analysis

    1. java.lang.RuntimeException

      java.lang.ClassCastException: org.apache.cxf.jaxrs.client.ClientProviderFactory cannot be cast to org.apache.cxf.jaxrs.client.ClientProviderFactory

      at org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean.createWebClient()
    2. Apache CXF JAX-RS Client
      ClientImpl$WebTargetImpl.request
      1. org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean.createWebClient(JAXRSClientFactoryBean.java:233)
      2. org.apache.cxf.jaxrs.client.spec.ClientImpl$WebTargetImpl.initTargetClientIfNeeded(ClientImpl.java:277)
      3. org.apache.cxf.jaxrs.client.spec.ClientImpl$WebTargetImpl.request(ClientImpl.java:238)
      4. org.apache.cxf.jaxrs.client.spec.ClientImpl$WebTargetImpl.request(ClientImpl.java:291)
      4 frames