java.lang.NoSuchMethodError: com.sun.xml.bind.api.JAXBRIContext.newInstance([Ljava/lang/Class;Ljava/util/Collection;Ljava/util/Map;Ljava/lang/String;ZLcom/sun/xml/bind/v2/model/annotation/RuntimeAnnotationReader;)Lcom/sun/xml/bind/api/JAXBRIContext;

nabble.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 1

    Metro - Users - Re: NoSuchMethodError: com.sun.xml.bind.api.JAXBRIContext.newInstance

    nabble.com | 8 months ago
    java.lang.NoSuchMethodError: com.sun.xml.bind.api.JAXBRIContext.newInstance([Ljava/lang/Class;Ljava/util/Collection;Ljava/util/Map;Ljava/lang/String;ZLcom/sun/xml/bind/v2/model/annotation/RuntimeAnnotationReader;)Lcom/sun/xml/bind/api/JAXBRIContext;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.sun.xml.bind.api.JAXBRIContext.newInstance([Ljava/lang/Class;Ljava/util/Collection;Ljava/util/Map;Ljava/lang/String;ZLcom/sun/xml/bind/v2/model/annotation/RuntimeAnnotationReader;)Lcom/sun/xml/bind/api/JAXBRIContext;

      at com.sun.xml.ws.rm.RmVersion.<init>()
    2. com.sun.xml
      RmAssertionValidator.<clinit>
      1. com.sun.xml.ws.rm.RmVersion.<init>(RmVersion.java:189)
      2. com.sun.xml.ws.rm.RmVersion.<clinit>(RmVersion.java:57)
      3. com.sun.xml.ws.rm.policy.assertion.Rm10Assertion.<clinit>(Rm10Assertion.java:64)
      4. com.sun.xml.ws.rm.policy.spi_impl.RmAssertionValidator.<clinit>(RmAssertionValidator.java:65)
      4 frames
    3. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:247)
      2 frames
    4. policy
      EffectiveAlternativeSelector.doSelection
      1. com.sun.xml.ws.policy.privateutil.ServiceFinder$LazyIterator.next(ServiceFinder.java:378)
      2. com.sun.xml.ws.policy.privateutil.ServiceFinder.toArray(ServiceFinder.java:228)
      3. com.sun.xml.ws.policy.privateutil.PolicyUtils$ServiceProvider.load(PolicyUtils.java:445)
      4. com.sun.xml.ws.policy.AssertionValidationProcessor.<clinit>(AssertionValidationProcessor.java:55)
      5. com.sun.xml.ws.policy.EffectiveAlternativeSelector.doSelection(EffectiveAlternativeSelector.java:157)
      5 frames
    5. JAX-WS RI Runtime Bundle
      ProviderImpl.createServiceDelegate
      1. com.sun.xml.ws.policy.jaxws.WSDLPolicyMapWrapper.doAlternativeSelection(WSDLPolicyMapWrapper.java:142)
      2. com.sun.xml.ws.policy.jaxws.PolicyWSDLParserExtension.postFinished(PolicyWSDLParserExtension.java:1047)
      3. com.sun.xml.ws.wsdl.parser.DelegatingParserExtension.postFinished(DelegatingParserExtension.java:187)
      4. com.sun.xml.ws.wsdl.parser.WSDLParserExtensionFacade.postFinished(WSDLParserExtensionFacade.java:334)
      5. com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:149)
      6. com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:265)
      7. com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:228)
      8. com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:176)
      9. com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
      9 frames
    6. Java RT
      Service.<init>
      1. javax.xml.ws.Service.<init>(Service.java:56)
      1 frame
    7. org.sourcejammer.server
      AdminServiceService.<init>
      1. org.sourcejammer.server.service.AdminServiceService.<init>(AdminServiceService.java:42)
      1 frame
    8. org.revisions.client
      RevisionsGuiClient.main
      1. org.revisions.client.remote.ServiceFactory.initAdminService(ServiceFactory.java:99)
      2. org.revisions.client.remote.ServiceFactory.<init>(ServiceFactory.java:43)
      3. org.revisions.client.remote.ArchiveConnector.createConnection(ArchiveConnector.java:41)
      4. org.revisions.client.remote.ArchiveConnector.getConnection(ArchiveConnector.java:26)
      5. org.revisions.client.command.GetArchiveStatsAndMessages.execute(GetArchiveStatsAndMessages.java:18)
      6. org.revisions.client.gui.main.DashboardPanel.buildMessagePanel(DashboardPanel.java:93)
      7. org.revisions.client.gui.main.DashboardPanel.initGui(DashboardPanel.java:62)
      8. org.revisions.client.gui.main.DashboardPanel.<init>(DashboardPanel.java:36)
      9. org.revisions.client.gui.main.MainTabContainer.populateTabPanels(MainTabContainer.java:80)
      10. org.revisions.client.gui.main.MainTabContainer.<init>(MainTabContainer.java:39)
      11. org.revisions.client.gui.main.RevisionsGuiClient.<init>(RevisionsGuiClient.java:52)
      12. org.revisions.client.gui.main.RevisionsGuiClient.launchClient(RevisionsGuiClient.java:100)
      13. org.revisions.client.gui.main.RevisionsGuiClient.main(RevisionsGuiClient.java:132)
      13 frames