- 博客(1)
- 收藏
- 关注
原创 升级spring mvc 5.3后No more pattern data allowed after {*...} or ** pattern element错误解决
1、错误直观展示是路径统配问题,可是之前没有问题啊,后来经过一通查找发现是spring升级到5.3之后路径统配发生了变化,官方给出的解释是“In Spring MVC, the path was previously analyzed by AntPathMatcher, but it was changed to use PathPatternParser introduced in WebFlux from Spring 5.3.0.”。 2、具体解决是把/**/*.html 改为 /*/*.html
2022-02-16 16:43:48
4433
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅