Hi

The namespace is wrong
 xmlns="http://camel.apache.org/schema/spring/tata

Should be
 xmlns="http://camel.apache.org/schema/spring



On Mon, Oct 17, 2011 at 11:33 AM, BAKHTI Mohammed <[email protected]> wrote:
>
> Hi,
>
> I have a problem when trying to run caml on an executable jar :
>
> Error :
> Message : Line 49 in XML document from class path resource 
> [hermes-context.xml] is invalid; nested exception is 
> org.xml.sax.SAXParseException: cvc-coplex-type.2.4.c: The matching wildcard 
> is strict, but no declaration can be found for element 'camelContext'.
>
>
> and my camel-context is :
>
> <beans xmlns="http://www.springframework.org/schema/beans";
>    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>    xmlns:context="http://www.springframework.org/schema/context";
>    xsi:schemaLocation="http://www.springframework.org/schema/beans 
> classpath:/org/springframework/beans/factory/xml/spring-beans-2.5.xsd
>       http://www.springframework.org/schema/context 
> classpath:/org/springframework/context/config/spring-context-2.5.xsd
>       http://camel.apache.org/schema/spring classpath:/camel-spring.xsd">
>
>    <!-- configure the camel activemq component to use the current broker -->
>
>    <camelContext id="camel" 
> xmlns="http://camel.apache.org/schema/spring/tata";>
>
>        <!-- You can use a <packages> element for each root package to search 
> for
>            Java routes -->
>        <packageScan>
>            <package>fr.acoss.hermes.core.camel</package>
>        </packageScan>
>
>    </camelContext>
>
> Thanks for any help
>
>
>
>
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to