You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ivan Liu <ja...@gmail.com> on 2011/11/23 02:02:41 UTC

upgrade tapestry from 5.2.6 to 5.3 report Error Invalid byte 3 of 3-byte UTF-8 sequence

Hi All,

I am upgrading tapestry version from 5.2.6 to 5.3,But report this
Error,like this: org.apache.tapestry5.ioc.internal.OperationException:
Failure parsing template classpath:com/lph/web/pages/Index.tml: Invalid
byte 3 of 3-byte UTF-8 sequence.
Index.tml template file is UTF-8 Encode, incude Chinese charactor,In
tapestry version 5.2.6 It work fine.

Best regards,
Ivan Liu.

-- 
IT瘾 - 发现和推荐优质IT科技资讯 <http://itindex.net/>

Re: upgrade tapestry from 5.2.6 to 5.3 report Error Invalid byte 3 of 3-byte UTF-8 sequence

Posted by Ivan Liu <ja...@gmail.com>.
I solved the problem myself,Thank you!

Add JVM parameter:-Dfile.encoding=UTF-8


在 2011年11月23日 上午9:02,Ivan Liu <ja...@gmail.com>写道:

> Hi All,
>
> I am upgrading tapestry version from 5.2.6 to 5.3,But report this
> Error,like this: org.apache.tapestry5.ioc.internal.OperationException:
> Failure parsing template classpath:com/lph/web/pages/Index.tml: Invalid
> byte 3 of 3-byte UTF-8 sequence.
> Index.tml template file is UTF-8 Encode, incude Chinese charactor,In
> tapestry version 5.2.6 It work fine.
>
> Best regards,
> Ivan Liu.
>
> --
> IT瘾 - 发现和推荐优质IT科技资讯 <http://itindex.net/>
>
>


-- 
IT瘾 - 发现和推荐优质IT科技资讯 <http://itindex.net/>