0
点赞
收藏
分享

微信扫一扫

Ambiguous mapping. Cannot map ‘Controller‘ methodhere is already ‘Controller

拾光的Shelly 2022-01-31 阅读 38

抱错:
Ambiguous mapping. Cannot map ‘Controller’ methodhere is already 'Controller

原因:
未对当前@RequestMapping指定路由

解决方法:
添加具体的路由路径,如下所示(不能重复):

@RequestMapping(value = "xxx")
举报

相关推荐

0 条评论