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

前端 未结 5 1806
梦谈多话
梦谈多话 2021-01-03 05:38

If i do not paste xmlns:tx=\"http://www.springframework.org/schema/tx\" then there are no problems. However if i do insert the text i get an cvc-complex-typ

5条回答
  •  情歌与酒
    2021-01-03 06:28

    I need to swap the line content to remove the error--

    http://www.springframework.org/schema/context/spring-context-4.0.xsd
    http://www.springframework.org/schema/context
    

    Just an interchange solved my error -- as below

    http://www.springframework.org/schema/context
    http://www.springframework.org/schema/context/spring-context-4.0.xsd
    

提交回复
热议问题