Home  >  Forum  >  Core Java
Post New Query


Asked on August 29, 2018
 Hi everyone,
      From last 1 month I am getting an following error. Please help anyone as   soon as possible.

 Error Description:
 javax.xml.bind.UnmarshalException - with linked exception:   [com.sun.org.apache.xerces.internal.iml.io.MalformedByteSequenceEx   ception : invalid byte 1 of 1-byte UTF-8 sequence.]


Replied on August 30, 2018
You need to add more detail about your code to give proper answer.
According to exception, the solution could be as following.

1. Check your input XML for any invalid character.  
2. Specify UTF-8 in your method that is unmarshaling XML.

Write Answer

©2021 concretepage.com | Privacy Policy | Contact Us