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

Samebug tips

  1. ,
    via Stack Overflow by Blaise Doughan

    You created JAXBContext with wrong parametes. See http://blog.bdoughan.com/2012/07/jaxb-and-root-elements.html

Solutions on the web

via GitHub by dmitry-zhuravlev
, 1 year ago
unexpected element (uri:"", local:"kobalt-settings"). Expected elements are <{}kobaltSettings>
via Stack Overflow by hudi
, 2 years ago
unexpected element (uri:"", local:"Avizo"). Expected elements are (none)
via GitHub by maggu2810
, 2 years ago
unexpected element (uri:"", local:"common-id-mappings"). Expected elements are (none)
via Stack Overflow by Nicolas Therrien
, 4 months ago
unexpected element (uri:"http://www.opengis.net/pidflo/1.0", local:"Circle"). Expected elements are <{http://www.opengis.net/gml}ArcByCenterPoint>,[...]
via Stack Overflow by Anusha
, 1 year ago
unexpected element (uri:"something", local:"A"). Expected elements are <{}B>,<{}A>
javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"kobalt-settings"). Expected elements are <{}kobaltSettings>	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:726)	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:247)	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:242)	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:109)	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext$DefaultRootLoader.childElement(UnmarshallingContext.java:1131)	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:556)	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:538)	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:153)