Skip to main content

Exception – How to resolve com.sun.xml.internal.ws.client.sei.SEIStub cannot be cast to org.apache.cxf.frontend.ClientProxy

Exception

I got this exception while using Apache CXF service. I was trying to use cxf endpoint to add some interceptors as shown on apache page.

But I was getting this exception continously

I had added the following dependencies in my POM

 

The error got resolved when I changed it to

 

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Bitnami