com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions com.sun.xml.bind.api.impl.NameConverter is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at com.sun.xml.bind.api.impl.NameConverter at public com.sun.xml.bind.api.impl.NameConverter com.sun.tools.xjc.reader.xmlschema.bindinfo.BIGlobalBinding.nameConverter at com.sun.tools.xjc.reader.xmlschema.bindinfo.BIGlobalBinding com.sun.xml.bind.api.impl.NameConverter does not have a no-arg default constructor. this problem is related to the following location: at com.sun.xml.bind.api.impl.NameConverter at public com.sun.xml.bind.api.impl.NameConverter com.sun.tools.xjc.reader.xmlschema.bindinfo.BIGlobalBinding.nameConverter at com.sun.tools.xjc.reader.xmlschema.bindinfo.BIGlobalBinding ]

Java.net JIRA | Iaroslav Savytskyi | 4 years ago
  1. 0

    Because of xjc split some samples began to fail. e.g. inline-customize fails with: [com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions com.sun.xml.bind.api.impl.NameConverter is an interface, and JAXB can't handle interfaces. There are several problems: - jaxb-impl.jar should be on classpath. -jaxb-impl.jar is now loaded by different classloader. Which is in parents of JAXB masking classloader.

    Java.net JIRA | 4 years ago | Iaroslav Savytskyi
    com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions com.sun.xml.bind.api.impl.NameConverter is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at com.sun.xml.bind.api.impl.NameConverter at public com.sun.xml.bind.api.impl.NameConverter com.sun.tools.xjc.reader.xmlschema.bindinfo.BIGlobalBinding.nameConverter at com.sun.tools.xjc.reader.xmlschema.bindinfo.BIGlobalBinding com.sun.xml.bind.api.impl.NameConverter does not have a no-arg default constructor. this problem is related to the following location: at com.sun.xml.bind.api.impl.NameConverter at public com.sun.xml.bind.api.impl.NameConverter com.sun.tools.xjc.reader.xmlschema.bindinfo.BIGlobalBinding.nameConverter at com.sun.tools.xjc.reader.xmlschema.bindinfo.BIGlobalBinding ]
  2. 0

    Service for Asynchronous Client calls (polling, callback)

    Coderanch | 5 years ago | Alan Rickmoore
    javax.xml.ws.WebServiceException: Unable to create JAXBContext
  3. 0

    Error on Endpoint.publish sinze jdk6u15

    Oracle Community | 7 years ago | 843833
    com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions java.util.concurrent.Executor is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at java.util.concurrent.Executorat public abstract java.util.concurrent.Executor javax.xml.ws.Endpoint.getExecutor() at javax.xml.ws.Endpoint java.util.concurrent.Executor does not have a no-arg default constructor. this problem is related to the following location: at java.util.concurrent.Executorat public abstract java.util.concurrent.Executor javax.xml.ws.Endpoint.getExecutor() at javax.xml.ws.Endpointat com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:91)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Blog - IliaChemodanov.ru

    iliachemodanov.ru | 1 year ago
    javax.xml.bind.DataBindingException: com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions java.util.Map is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at java.util.Map at private java.util.Map JaxbTest.map at JaxbTest java.util.Map does not have a no-arg default constructor. this problem is related to the following location: at java.util.Map at private java.util.Map JaxbTest.map at JaxbTest
  6. 0

    Home - IliaChemodanov.ru

    iliachemodanov.ru | 1 year ago
    javax.xml.bind.DataBindingException: com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions java.util.Map is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at java.util.Map at private java.util.Map JaxbTest.map at JaxbTest java.util.Map does not have a no-arg default constructor. this problem is related to the following location: at java.util.Map at private java.util.Map JaxbTest.map at JaxbTest

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException

      2 counts of IllegalAnnotationExceptions com.sun.xml.bind.api.impl.NameConverter is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at com.sun.xml.bind.api.impl.NameConverter at public com.sun.xml.bind.api.impl.NameConverter com.sun.tools.xjc.reader.xmlschema.bindinfo.BIGlobalBinding.nameConverter at com.sun.tools.xjc.reader.xmlschema.bindinfo.BIGlobalBinding com.sun.xml.bind.api.impl.NameConverter does not have a no-arg default constructor. this problem is related to the following location: at com.sun.xml.bind.api.impl.NameConverter at public com.sun.xml.bind.api.impl.NameConverter com.sun.tools.xjc.reader.xmlschema.bindinfo.BIGlobalBinding.nameConverter at com.sun.tools.xjc.reader.xmlschema.bindinfo.BIGlobalBinding ]

      at com.sun.tools.xjc.reader.xmlschema.bindinfo.BindInfo.getCustomizationContext()
    2. Old JAXB XJC
      NGCCRuntime.startElement
      1. com.sun.tools.xjc.reader.xmlschema.bindinfo.BindInfo.getCustomizationContext(BindInfo.java:356)
      2. com.sun.tools.xjc.reader.xmlschema.bindinfo.BindInfo.getCustomizationUnmarshaller(BindInfo.java:362)
      3. com.sun.tools.xjc.reader.xmlschema.bindinfo.AnnotationParserFactoryImpl$1.<init>(AnnotationParserFactoryImpl.java:85)
      4. com.sun.tools.xjc.reader.xmlschema.bindinfo.AnnotationParserFactoryImpl.create(AnnotationParserFactoryImpl.java:84)
      5. com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.createAnnotationParser(NGCCRuntimeEx.java:365)
      6. com.sun.xml.xsom.impl.parser.state.annotation.action0(annotation.java:88)
      7. com.sun.xml.xsom.impl.parser.state.annotation.enterElement(annotation.java:113)
      8. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
      9. com.sun.xml.xsom.impl.parser.state.NGCCHandler.spawnChildFromEnterElement(NGCCHandler.java:113)
      10. com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:353)
      11. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
      12. com.sun.xml.xsom.impl.parser.state.NGCCHandler.revertToParentFromEnterElement(NGCCHandler.java:150)
      13. com.sun.xml.xsom.impl.parser.state.foreignAttributes.enterElement(foreignAttributes.java:90)
      14. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
      15. com.sun.xml.xsom.impl.parser.state.NGCCHandler.spawnChildFromEnterElement(NGCCHandler.java:113)
      16. com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:228)
      17. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
      18. com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:345)
      19. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
      20. com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:333)
      21. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
      22. com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:427)
      23. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
      24. com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:477)
      25. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
      26. com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:317)
      27. com.sun.xml.xsom.impl.parser.state.NGCCRuntime.startElement(NGCCRuntime.java:258)
      27 frames
    3. Java RT
      XMLFilterImpl.startElement
      1. org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527)
      1 frame
    4. Old JAXB XJC
      ExtensionBindingChecker.startElement
      1. com.sun.tools.xjc.util.SubtreeCutter.startElement(SubtreeCutter.java:108)
      2. com.sun.tools.xjc.reader.ExtensionBindingChecker.startElement(ExtensionBindingChecker.java:150)
      2 frames
    5. Java RT
      XMLFilterImpl.startElement
      1. org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527)
      1 frame
    6. Old JAXB XJC
      IncorrectNamespaceURIChecker.startElement
      1. com.sun.tools.xjc.reader.xmlschema.parser.IncorrectNamespaceURIChecker.startElement(IncorrectNamespaceURIChecker.java:128)
      1 frame
    7. Java RT
      XMLFilterImpl.startElement
      1. org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527)
      1 frame
    8. Old JAXB XJC
      CustomizationContextChecker.startElement
      1. com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.startElement(CustomizationContextChecker.java:193)
      1 frame
    9. Java RT
      XMLFilterImpl.startElement
      1. org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527)
      1 frame
    10. Old JAXB XJC
      DOMForestScanner$LocationResolver.startElement
      1. com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.startElement(DOMForestScanner.java:147)
      1 frame
    11. Old JAXB Runtime
      DOMScanner.scan
      1. com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:244)
      2. com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:281)
      3. com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:250)
      4. com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:127)
      4 frames
    12. Old JAXB XJC
      Driver$1.run
      1. com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:92)
      2. com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:100)
      3. com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:104)
      4. com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:269)
      5. com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:347)
      6. com.sun.xml.xsom.impl.parser.ParserContext.parse(ParserContext.java:128)
      7. com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:168)
      8. com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:157)
      9. com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:534)
      10. com.sun.tools.xjc.ModelLoader.loadXMLSchema(ModelLoader.java:378)
      11. com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:174)
      12. com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:119)
      13. com.sun.tools.xjc.Driver.run(Driver.java:333)
      14. com.sun.tools.xjc.Driver.run(Driver.java:200)
      15. com.sun.tools.xjc.Driver._main(Driver.java:123)
      16. com.sun.tools.xjc.Driver.access$000(Driver.java:80)
      17. com.sun.tools.xjc.Driver$1.run(Driver.java:103)
      17 frames