原文:idea调试SpringMvc, 出现:”通配符的匹配很全面, 但无法找到元素 'mvc:annotation-driven' 的声明“错误的解决方法

调试json格式输出,出现以下错误: HTTP Status Servlet.init for servlet HelloDispatcher threw exception typeException report messageServlet.init for servlet HelloDispatcher threw exception descriptionThe server encou ...

2017-03-19 19:41 1 15856 推荐指数:

查看详情

通配符匹配全面, 但无法找到元素 'tx:annotation-driven' 的声明

在一个spring mvc项目中,加入了事务管理器: 但是在测试service层报了一个奇怪的错,错误如下: 上面写着 “通配符匹配全面, 但无法找到元素 'tx:annotation-driven' 的声明“ ,这个错误我从来没遇见过,于是在反复测试与查找资料后,才找到原因 ...

Mon May 04 07:20:00 CST 2020 0 1428
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM