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
I just had this issue while upgrading our application to Java 11. In the end it turned out that we had some weired dependency setup and two "conflicting" libs:
cxf-rt-frontend-simple vs. cxf-rt-frontend-jaxws
So I removed all the simple dependencies and replaced them with jaxws and now all is fine ->
org.apache.cxf
cxf-rt-frontend-jaxws
${cxf.version}
Credits to this blog post -> http://www.littlebigextra.com/exception-how-to-resolve-com-sun-xml-internal-ws-client-sei-seistub-cannot-be-cast-to-org-apache-cxf-frontend-clientproxy/
For further reading I recommend this thread on Java >8 migrations: Replacements for deprecated JPMS modules with Java EE APIs