java.lang.LinkageError: ClassCastException: attempting to castjar:file:/home/nbtest/netbeans-6.8/java3/modules/ext/jaxws22/api/jaxws-api.jar!/javax/xml/ws/spi/Provider.classtojar:file:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/rt.jar!/javax/xml/ws/spi/Provider.class

netbeans.org | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Bug 180455 – Cannot call JAX-WS WebServices from NetBeans Module

    netbeans.org | 6 months ago
    java.lang.LinkageError: ClassCastException: attempting to castjar:file:/home/nbtest/netbeans-6.8/java3/modules/ext/jaxws22/api/jaxws-api.jar!/javax/xml/ws/spi/Provider.classtojar:file:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/rt.jar!/javax/xml/ws/spi/Provider.class

    Root Cause Analysis

    1. java.lang.LinkageError

      ClassCastException: attempting to castjar:file:/home/nbtest/netbeans-6.8/java3/modules/ext/jaxws22/api/jaxws-api.jar!/javax/xml/ws/spi/Provider.classtojar:file:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/rt.jar!/javax/xml/ws/spi/Provider.class

      at javax.xml.ws.spi.Provider.provider()
    2. Java RT
      Service.<init>
      1. javax.xml.ws.spi.Provider.provider(Provider.java:94)
      2. javax.xml.ws.Service.<init>(Service.java:56)
      2 frames
    3. com.aonaware.services
      DictService.<init>
      1. com.aonaware.services.webservices.DictService.<init>(DictService.java:44)
      1 frame
    4. com.netbeans86.soap
      Dictionary.define
      1. com.netbeans86.soap.Dictionary.define(Dictionary.java:21)
      1 frame
    5. com.netbeans68.soap
      Installer.restored
      1. com.netbeans68.soap.test.Installer.restored(Installer.java:21)
      1 frame
    6. org.netbeans.core
      NbInstaller.load
      1. org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:440)
      2. org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:361)
      2 frames
    7. org.netbeans
      ModuleManager.enable
      1. org.netbeans.ModuleManager.enable(ModuleManager.java:928)
      1 frame
    8. org.netbeans.core
      TopThreadGroup.run
      1. org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:289)
      2. org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:225)
      3. org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
      4. org.netbeans.core.startup.Main.getModuleSystem(Main.java:168)
      5. org.netbeans.core.startup.Main.start(Main.java:309)
      6. org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:111)
      6 frames