camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mabahma <maba...@hotmail.com>
Subject cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'broker:broker'.
Date Wed, 03 Feb 2010 12:28:05 GMT

I picked up a camel tutorial and i never get to run it succefully.
I'm using Camel 2.1 and ActivMq 5.3.0

It always crashes with the error :


org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard
is strict, but no declaration can be found for element 'broker:broker'.

Am i missing any  library ? 

Here is my maven file :



***


 2.1.0
 5.3.0 
 3.6
  
  
  
    
      junit
      junit
      3.8.1
      test
    
    
      
  
    org.apache.camel
    camel-core
    ${camel-version}
  
  
    org.apache.camel
    camel-spring
     ${camel-version}
  
   
             
  
    org.apache.activemq
    activemq-camel
    ${activemq-version}
  
   
  
  
    org.apache.camel
    camel-jaxb
    ${camel-version}
  
   
     
  
    org.apache.camel
    camel-csv
    ${camel-version}
 
   
  
  
    org.apache.camel
    camel-jetty
    ${camel-version}
  
 
  
  
    org.apache.activemq
    activemq-core
    ${activemq-version}
  
  
    org.apache.xbean
    xbean-spring
    ${xbean-spring-version}
  
  
  
*****

and the spring file :

***************

       
      
       
 
  
    
      
    
  
 
  
    
  
 
  
  
  
  
   org.fusesource.camel
    
  
 



***************



Main class that crashes with the error : no declaration can be found for
element 'broker:broker'.


***************


public class SampleCamelServer {

    public static void main(String[] args) throws Exception {
        Main.main("-ac", "camel-context.xml");
    }
    
}
********************

I can open the file 
http://activemq.apache.org/schema/core/activemq-core-5.3.0.xsd

In a browser , so why can't  he found the element ?


do u have any idea about this error ?


I'm using jdk1.5 and MyEclipse 8

Thnx a lot.

-- 
View this message in context: http://old.nabble.com/cvc-complex-type.2.4.c%3A-The-matching-wildcard-is-strict%2C-but-no-declaration-can-be-found-for-element-%27broker%3Abroker%27.-tp27435578p27435578.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message