Skip to content

class com.sun.xml.ws.spi.ProviderImpl cannot be cast to class jakarta.xml.ws.spi.Provider #226

@hariraogotit

Description

@hariraogotit

Team,

Very similar to #90

I am getting class com.sun.xml.ws.spi.ProviderImpl cannot be cast to class jakarta.xml.ws.spi.Provider

I am using
Java 21. Spring boot 3.3
Gradle 8.7

My deps include

implementation group: 'com.sun.xml.ws', name: 'jaxws-rt', version: '2.3.1'
image

Kindly advise on the combination of jars to be used?

I have spent couple of days on this issue now.

Any leads are much appreciated.

Some debug screenshots

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions