java.lang.IllegalArgumentException: The number of capturing groups in the pattern segment ((path1|path2|path3)) does not match the number of URI template variables it defines, which can occur if capturing groups are used in a URI template regex. Use non-capturing groups instead.
at org.springframework.util.AntPathMatcher$AntPathStringMatcher.matchStrings(AntPathMatcher.java:684)
at org.springframework.util.AntPathMatcher.matchStrings(AntPathMatcher.java:414)
at org.springframework.util.AntPathMatcher.doMatch(AntPathMatcher.java:213)
at org.springframework.util.AntPathMatcher.extractUriTemplateVariables(AntPathMatcher.java:491)
at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.handleMatch(RequestMappingInfoHandlerMapping.java:132)
at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.handleMatch(RequestMappingInfoHandlerMapping.java:58)
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.lookupHandlerMethod(AbstractHandlerMethodMapping.java:370)
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java:314)
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java:61)
at org.springframework.web.servlet.handler.AbstractHandlerMapping.getHandler(AbstractHandlerMapping.java:352)
at org
The number of capturing groups in the pattern segment ((path1|path2|path3)) does not match the...
最新推荐文章于 2022-05-20 11:49:01 发布

最低0.47元/天 解锁文章
2942

被折叠的 条评论
为什么被折叠?



