javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"kobalt-settings"). Expected elements are <{}kobaltSettings>

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

,
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
, 1 year ago
unexpected element (uri:"", local:"common-id-mappings"). Expected elements are (none)
via Stack Overflow by Anusha
, 8 months ago
unexpected element (uri:"something", local:"A"). Expected elements are <{}B>,<{}A>
via Stack Overflow by codebot
, 2 years ago
unexpected element (uri:"http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2005-10-01/QuestionFormAnswers.xsd", local:"QuestionFormAnswers"). Expected elements are (none)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 month ago
14 times, 11 months ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
18 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.