You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by KK <kk...@gmail.com> on 2005/04/18 21:33:32 UTC
Help needed...
I get the following error when I try to build sqlCOnfigmap..does it
look familiar to someone?
com.ibatis.sqlmap.client.SqlMapException: There was an error while
building the SqlMap instance.
--- The error occurred in the SQL Map Configuration file.
--- Cause: com.ibatis.sqlmap.client.SqlMapException: XML Parser Error.
Cause: java.io.UTFDataFormatException: Invalid byte 3 of 3-byte UTF-8
sequence.
Caused by: java.io.UTFDataFormatException: Invalid byte 3 of 3-byte
UTF-8 sequence.
Caused by: com.ibatis.sqlmap.client.SqlMapException: XML Parser Error.
Cause: java.io.UTFDataFormatException: Invalid byte 3 of 3-byte UTF-8
sequence.
Caused by: java.io.UTFDataFormatException: Invalid byte 3 of 3-byte
UTF-8 sequence.
at com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.buildSqlMap(XmlSqlMapClientBuilder.java:203)
at com.ibatis.sqlmap.client.
SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.java:49)
Your help is greatly appreciated.
Thanks,
KK
Re: Help needed...
Posted by Larry Meadors <la...@gmail.com>.
Make sure that there is no white space and no odd chars at the top of your
config file.
Larry
On 4/18/05, KK <kk...@gmail.com> wrote:
>
> I get the following error when I try to build sqlCOnfigmap..does it
> look familiar to someone?
>
> com.ibatis.sqlmap.client.SqlMapException: There was an error while
> building the SqlMap instance.
> --- The error occurred in the SQL Map Configuration file.
> --- Cause: com.ibatis.sqlmap.client.SqlMapException: XML Parser Error.
> Cause: java.io.UTFDataFormatException: Invalid byte 3 of 3-byte UTF-8
> sequence.
> Caused by: java.io.UTFDataFormatException: Invalid byte 3 of 3-byte
> UTF-8 sequence.
> Caused by: com.ibatis.sqlmap.client.SqlMapException: XML Parser Error.
> Cause: java.io.UTFDataFormatException: Invalid byte 3 of 3-byte UTF-8
> sequence.
> Caused by: java.io.UTFDataFormatException: Invalid byte 3 of 3-byte
> UTF-8 sequence.
> at com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.buildSqlMap
> (XmlSqlMapClientBuilder.java:203)
> at com.ibatis.sqlmap.client.
> SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.java:49)
>
> Your help is greatly appreciated.
>
> Thanks,
> KK
>