Error in loading TX: annotation-driven by spring
The cvc-complex-type.2.4.c: the matching wildcard is strict, but no declaration can be found for element 'tx: annotation-driven '.
The reason is that Tx is not configured properly. In the spring configuration file, modify
<Beans Xmlns = "http://www.springframework.org/schema/beans" Xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" 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.5.xsd Http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd "> reference: http://forum.springframework.org/showthread.php? P = 166263