Announcement Announcement Module
Collapse
No announcement yet.
Problems setting up the integration Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems setting up the integration

    Hi Folks.

    I have big problems using blazeds and spring. Here is where i am stuck:

    Then I use the Tag <flex:message-broker/> I get the exception:
    org.springframework.beans.factory.xml.XmlBeanDefin itionStoreException: Line 17 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Element type "flex:message-broker" must be declared.

    Ok. So I have pasted the namespace definition into the applicationContext.xml and i get xmlns is not correctly spelled.

    That drives me insane. Can anybody help me???

    THA OAD

  • #2
    You need to make sure to include all required name space declarations in the root element. Also the org.springframework.flex-*.jar file needs to be in the classpath and loaded before your spring application context xml is read.

    E.g.
    Code:
    <beans xmlns="http://www.springframework.org/schema/beans"
           xmlns:flex="http://www.springframework.org/schema/flex"
           xmlns:security="http://www.springframework.org/schema/security"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="
               http://www.springframework.org/schema/beans
               	http://www.springframework.org/schem...-beans-2.5.xsd
               http://www.springframework.org/schema/flex 
               	http://www.springframework.org/schem...g-flex-1.0.xsd
               http://www.springframework.org/schema/security 
               	http://www.springframework.org/schema/security/spring-security-2.0.4.xsd">

    Comment


    • #3
      Thx for the reply. I have not entered the xsd in the root element!
      OA

      Comment

      Working...
      X