Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Java.net JIRA by Iaroslav Savytskyi, 1 year ago
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.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(BindInfo.java:356)	at com.sun.tools.xjc.reader.xmlschema.bindinfo.BindInfo.getCustomizationUnmarshaller(BindInfo.java:362)	at com.sun.tools.xjc.reader.xmlschema.bindinfo.AnnotationParserFactoryImpl$1.(AnnotationParserFactoryImpl.java:85)	at com.sun.tools.xjc.reader.xmlschema.bindinfo.AnnotationParserFactoryImpl.create(AnnotationParserFactoryImpl.java:84)	at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.createAnnotationParser(NGCCRuntimeEx.java:365)	at com.sun.xml.xsom.impl.parser.state.annotation.action0(annotation.java:88)	at com.sun.xml.xsom.impl.parser.state.annotation.enterElement(annotation.java:113)	at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)	at com.sun.xml.xsom.impl.parser.state.NGCCHandler.spawnChildFromEnterElement(NGCCHandler.java:113)	at com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:353)	at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)	at com.sun.xml.xsom.impl.parser.state.NGCCHandler.revertToParentFromEnterElement(NGCCHandler.java:150)	at com.sun.xml.xsom.impl.parser.state.foreignAttributes.enterElement(foreignAttributes.java:90)	at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)	at com.sun.xml.xsom.impl.parser.state.NGCCHandler.spawnChildFromEnterElement(NGCCHandler.java:113)	at com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:228)	at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)	at com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:345)	at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)	at com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:333)	at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)	at com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:427)	at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)	at com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:477)	at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)	at com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:317)	at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.startElement(NGCCRuntime.java:258)	at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527)	at com.sun.tools.xjc.util.SubtreeCutter.startElement(SubtreeCutter.java:108)	at com.sun.tools.xjc.reader.ExtensionBindingChecker.startElement(ExtensionBindingChecker.java:150)	at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527)	at com.sun.tools.xjc.reader.xmlschema.parser.IncorrectNamespaceURIChecker.startElement(IncorrectNamespaceURIChecker.java:128)	at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527)	at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.startElement(CustomizationContextChecker.java:193)	at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527)	at com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.startElement(DOMForestScanner.java:147)	at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:244)	at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:281)	at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:250)	at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:127)	at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:92)	at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:100)	at com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:104)	at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:269)	at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:347)	at com.sun.xml.xsom.impl.parser.ParserContext.parse(ParserContext.java:128)	at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:168)	at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:157)	at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:534)	at com.sun.tools.xjc.ModelLoader.loadXMLSchema(ModelLoader.java:378)	at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:174)	at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:119)	at com.sun.tools.xjc.Driver.run(Driver.java:333)	at com.sun.tools.xjc.Driver.run(Driver.java:200)	at com.sun.tools.xjc.Driver._main(Driver.java:123)	at com.sun.tools.xjc.Driver.access$000(Driver.java:80)	at com.sun.tools.xjc.Driver$1.run(Driver.java:103)