解决Springmvc拦截器配置中mvc:exclude-mapping不能使用的问题;错误描述:cvc-complex-type.2.4.a: Invalid content was found starting with element 'mvc:exclude-mapping'.
问题如下:
头部也引入了
最后发现是版本过低造成不支持该标签改成 3.2版本的即可
http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd修改后的代码:
赞
(3)
打赏
微信扫一扫
支付宝扫一扫


eclipse汉化教程
上一篇
2020年01月17日 10:14
在spring boot 项目中使用thymeleaf模板,将后台数据传递给前台界面。
下一篇
2020年02月24日 15:36
这里是广告位
相关推荐
-
Sring Data JPA使用Predicate进行模糊查询、按时间段查询
10 : demoDTO.getSize();PageRequest pageRequest = new PageRequest;Specification<W
-
Thymeleaf——th:each遍历Map List
@RequestMappingpublic Object a3{Map<String,User> map1=new HashedMap();User user1
-
js与thymeleaf结合,js获取thymeleaf变量
<tr th:each=\"book : ${books}\"> <td th:text=\"${book.author}\"></td>