Getting java.lang.ClassNotFoundException: com.sun.xml.internal.ws.spi.ProviderImpl despite the dependencies are defined

后端 未结 5 1363
青春惊慌失措
青春惊慌失措 2021-01-07 19:22

Despite that I have defined the related dependencies as I have added below, getting the java.lang.ClassNotFoundException: com.sun.xml.internal.ws.spi.ProviderImpl

5条回答
  •  情书的邮戳
    2021-01-07 19:42

    The first part of the answer by @reta works for me. These are the relevant dependencies from my pom (Java 10):

    
      javax.xml.ws
      jaxws-api
      2.3.1
    
    
      com.sun.xml.ws
      rt
      2.3.1
    
    

提交回复
热议问题