Announcement Announcement Module
Collapse
No announcement yet.
problem with "xmlns must be declared for element type beans" exception Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    I am new to spring (1 day experience) but anyway.... may be this information will be helpfull.
    I had the same problem (v2.0.5) - it couldn't been resolved by specifying DTD - how to use transaction management ?

    If you place schema locations at you xml, it works! (for me at least)

    Code:
    <beans
    xmlns="http://www.springframework.org/schema/beans"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:aop="http://www.springframework.org/schema/aop"
           xmlns:tx="http://www.springframework.org/schema/tx"
           xsi:schemaLocation="
           http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
           http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
           http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd"
    >

    Comment

    Working...
    X