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 | 7 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. 0

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

    nabble.com | 7 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
      RmVersion.<clinit>
      1. com.sun.xml.ws.rm.RmVersion.<init>(RmVersion.java:189)
      2. com.sun.xml.ws.rm.RmVersion.<clinit>(RmVersion.java:57)
      2 frames
    3. Java RT
      J9VMInternals.initialize
      1. java.lang.J9VMInternals.initializeImpl(Native Method)
      2. java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
      2 frames
    4. com.sun.xml
      Rm10Assertion.<clinit>
      1. com.sun.xml.ws.rm.policy.assertion.Rm10Assertion.<clinit>(Rm10Assertion.java:64)
      1 frame
    5. Java RT
      J9VMInternals.initialize
      1. java.lang.J9VMInternals.initializeImpl(Native Method)
      2. java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
      2 frames
    6. com.sun.xml
      RmAssertionValidator.<clinit>
      1. com.sun.xml.ws.rm.policy.spi_impl.RmAssertionValidator.<clinit>(RmAssertionValidator.java:65)
      1 frame
    7. Java RT
      Class.forName
      1. java.lang.J9VMInternals.initializeImpl(Native Method)
      2. java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
      3. java.lang.Class.forNameImpl(Native Method)
      4. java.lang.Class.forName(Class.java:163)
      4 frames
    8. policy
      AssertionValidationProcessor.<clinit>
      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)
      4 frames
    9. Java RT
      J9VMInternals.initialize
      1. java.lang.J9VMInternals.initializeImpl(Native Method)
      2. java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
      2 frames
    10. policy
      EffectiveAlternativeSelector.doSelection
      1. com.sun.xml.ws.policy.EffectiveAlternativeSelector.doSelection(EffectiveAlternativeSelector.java:157)
      1 frame
    11. 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
    12. Java RT
      Service.<init>
      1. javax.xml.ws.Service.<init>(Service.java:57)
      1 frame