jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gongtao <gongtao...@yahoo.cn>
Subject Re: jackrabbit 1.5 springmodule Jcr conflict ???
Date Mon, 08 Dec 2008 02:17:27 GMT


Jukka Zitting wrote:
> 
> Hi,
> 
> On Fri, Dec 5, 2008 at 10:23 AM, gongtao <gongtao_19@yahoo.cn> wrote:
>> [application-repository.xml]: Invocation of init method failed; nested
>> exception is org.apache.jackrabbit.core.config.ConfigurationException:
>> Configuration file syntax error. (Line: 4 Column: 28): Invalid byte 2 of
>> 2-byte UTF-8 sequence.: Invalid byte 2 of 2-byte UTF-8 sequence.
>>
>> It is not error When I am using the jackrabbit 1.4
> 
> Do you have a <?xml prefix in your configuration file? It looks like
> your configuration file is not in UTF-8, so you'll need something like
> <?xml version="1.0" encoding="..."?> as the prefix.
> 
> In Jackrabbit 1.5 we are a bit more careful in how the configuration
> files are being parsed, and things like this may well come up.
> 
> BR,
> 
> Jukka Zitting
> 
> 

Thank you Jukka Zitting!

My configuration file is  in UTF-8
The following is before 5 line of my configuration file
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">

Error message:

ConfigurationException:
Configuration file syntax error. (Line: 4 Column: 28): Invalid byte 2 of
2-byte UTF-8 sequence.

Line: 4 Column: 28  ???  Great wonder

-- 
View this message in context: http://www.nabble.com/jackrabbit-1.5---springmodule-Jcr-conflict-----tp20850358p20888602.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message