Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-4310

Jaxb-API-2.3 has missing method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • jaxb-api-2.3_3
    • specs
    • None

    Description

      When I use org.apache.servicemix.specs.jaxb-api-2.3-2.3_2.jar and call 

      JAXBContext.newInstance(Class) I get following exception:

      java.lang.NoSuchMethodError: javax.xml.bind.ServiceLoaderUtil.lookupUsingOSGiServiceLoader(Ljava/lang/String;Ljava/util/logging/Logger;)Ljava/lang/Object;java.lang.NoSuchMethodError: javax.xml.bind.ServiceLoaderUtil.lookupUsingOSGiServiceLoader(Ljava/lang/String;Ljava/util/logging/Logger;)Ljava/lang/Object; at javax.xml.bind.ContextFinder.find(ContextFinder.java:413) ~[?:1.8.0_161] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:721) ~[?:1.8.0_161] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:662) ~[?:1.8.0_161] 

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            markov Veselin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: