On 12/23/05, building river <[EMAIL PROTECTED]> wrote: > when I run a program which use OJB to persistent a class as follow:
<snip> > [exec] Caused by: java.io.UTFDataFormatException: Invalid byte 2 of > 2-bytes > > UTF-8 sequence This is the core problem. I think you have declared in your XML file that it has UTF-8 encoding, while it does not really. You should edit XML files with Unicode editors (e.g. if you're using Eclipse use something like Eclipse WST or XMLBuddy). If you're using a normal text editor, you could try ISO-8859-1 (which is Latin-1) or a similar encoding. Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
