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

前端 未结 5 1813
梦谈多话
梦谈多话 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:24

    I was able to solve this issue by adding these 2 declarations inside the xsi:schemaLocation. http://www.springframework.org/schema/mvc
    http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
    add the above it worked for me

提交回复
热议问题