javax.xml.bind.UnmarshalException

unexpected element (uri:"", local:"starttime"). Expected element s are (none)]

Samebug tips1

Your current object model and mappings do not match the XML content. Check your JAXB annotations.


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web300

  • via Apache's JIRA Issue Tracker by Andreas Bucksteeg, 1 year ago
    unexpected element (uri:"", local:"starttime"). Expected element s are (none)]
  • via Apache's JIRA Issue Tracker by Andreas Bucksteeg, 1 year ago
    unexpected element (uri:"", local:"starttime"). Expected element s are (none)]
  • via Stack Overflow by user2725919
    , 1 year ago
    unexpected element (uri:"", local:"Cond_Tbl_Data_Set"). Expected elements are (none)
  • Stack trace

    • javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"starttime"). Expected element s are (none)] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:395) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:334) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:304) at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:354) Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"starttime"). Expect ed elements are (none) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:523) at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:199) at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:194)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 2 weeks ago
    Once, 4 months ago
    6 times, 5 months ago
    15 times, 7 months ago
    9 times, 7 months ago
    8 more bugmates