org.xml.sax.SAXParseException: Content is not allowed in prolog

前端 未结 30 1792
别那么骄傲
别那么骄傲 2020-11-22 02:54

I have a Java based web service client connected to Java web service (implemented on the Axis1 framework).

I am getting following exception in my log file:

30条回答
  •  盖世英雄少女心
    2020-11-22 03:43

    In my case, removing the 'encoding="UTF-8"' attribute altogether worked.

    It looks like a character set encoding issue, maybe because your file isn't really in UTF-8.

提交回复
热议问题