我有2个带有这种请求映射的方法
@RequestMapping(value = "/page/{page}", method = {RequestMethod.POST, RequestMethod.GET})
@RequestMapping(value = "/{category}/{subCategory}", method = {RequestMethod.POST, RequestMethod.GET})
当我去url' / page / smth' spring无法解析应该调用哪个方法,我得到了
org.springframework.web.method.annotation.ModelAttributeMethodProcessor.resolveArgument(ModelAttributeMethodProcessor.java:110)
我该怎样帮助'春天解决了这个问题?也许有一些配置?