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

后端 未结 5 1369
青春惊慌失措
青春惊慌失措 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:50

    It seems like you may need to include this dependency:

    
        com.sun.xml.ws
        rt
        2.2.10
    
    

    Or (haven't checked it yet but should work) you may need to change the scope to import for POM dependency.

    
      com.sun.xml.ws
      jaxws-rt
      2.2.10
      pom
      import 
    
    

提交回复
热议问题