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




                                          

Reply via email to