The matching wildcard is strict, but no declaration can be found for element 'tx:annotation-driven'

后端 未结 9 2364
夕颜
夕颜 2020-11-29 09:11

I am trying to configure JSF+Spring+hibernate and I\'m tying to run a test but when I use this \"tx:annotation-driven\" on my application-context.xml file, I get this error:

9条回答
  •  不知归路
    2020-11-29 09:38

    Make sure that Spring version and xsd version both are same.In my case I am using Spring 4.1.1 so my all xsd should be version *-4.1.xsd

提交回复
热议问题