facebook

Provide com.sun.xml.iinternal.ws.spi.ProviderImpl not found error

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #604215 Reply

    crooksb
    Participant

    I was unable to create a new web service client in my current application so I created a new workspace and created the new client there, when I to to instantiate the soap service. I get the following error and I don’t know where to go from here.

    error: Provider com.sun.xml.internal.ws.spi.ProviderImpl not found
    javax.xml.ws.WebServiceException: Provider com.sun.xml.internal.ws.spi.ProviderImpl not found
    at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:33)
    at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:128)
    at javax.xml.ws.spi.Provider.provider(Provider.java:108)
    at javax.xml.ws.Service.<init>(Service.java:57)
    at com.karpel.ExchangeService.<init>(ExchangeService.java:47)
    at com.karpel.KarpelWebServices.sendMessageToWebService(KarpelWebServices.java:102)
    at com.karpel.KarpelWebServices.main(KarpelWebServices.java:37)
    Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.ws.spi.ProviderImpl
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
    at javax.xml.ws.spi.FactoryFinder.safeLoadClass(FactoryFinder.java:149)
    at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:30)
    … 6 more

    #604262 Reply

    support-swapna
    Moderator

    Barb,

    Sorry that you are seeing this issue.
    This looks like the jar is no longer available in the latest versions of Java.
    Please see a similar report here : https://stackoverflow.com/questions/49107375/getting-java-lang-classnotfoundexception-com-sun-xml-internal-ws-spi-providerim

    MyEclipse 2018 starts with Java 10 by default.Can you please start MyEclipse 2018 with Java 8 (edit the myeclipse.ini file located in the MyEclipse installation dir and point the -vm arg to Java 8 instead of the default Java 10) and check if you are still seeing the problem?

    Please let us know how you get on with it.

    –Swapna
    Genuitec Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Provide com.sun.xml.iinternal.ws.spi.ProviderImpl not found error

You must be logged in to post in the forum log in