Results 1 to 4 of 4

Thread: no declaration can be found for element message-bus

  1. #1
    Join Date
    Sep 2009
    Posts
    2

    Default no declaration can be found for element message-bus

    Hello,

    I am getting the following error. Please kindly help.

    cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'message-bus'.

    Thanks in advance

    Code:
    Exception in thread "main" org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:spring/spring-integration-beans.xml]
    Offending resource: class path resource [spring/application-context.xml]; nested exception is org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 14 in XML document from class path resource [spring/spring-integration-beans.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'message-bus'.
    	at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
    Last edited by aysbilge; Sep 17th, 2009 at 02:07 AM.

  2. #2
    Join Date
    May 2007
    Location
    Netherlands
    Posts
    614

    Default

    You're using <message-bus /> probably while that is not supported by the namespace. Did you perhaps start using SI in one of the early milestones?

  3. #3
    Join Date
    Sep 2009
    Posts
    2

    Default

    The version that i am currently using is 1.0.0.M4. Is this a known issue for early builds?

  4. #4
    Join Date
    May 2007
    Location
    Netherlands
    Posts
    614

    Default

    The current version is 1.0.3.RELEASE. If you want to be on a milestone I suggest you wait for 2.0.M1. You're not using a milestone in production are you?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •