拾光的Shelly

关注

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

拾光的Shelly

关注

阅读 39

2022-01-31

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

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

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

@RequestMapping(value = "xxx")

相关推荐

半秋L

Ambiguous mapping. Cannot map

半秋L 61 0 0

非宁静不致远

Ambiguous mapping. Cannot map 'appController' method

非宁静不致远 83 0 0

莞尔小迷糊

SpringBoot - Ambiguous mapping Cannot map “XXXController” method

莞尔小迷糊 53 0 0

7dcac6528821

Ambiguous mapping found

7dcac6528821 241 0 0

古得曼_63b6

Controller层

古得曼_63b6 19 0 0

幸福的无所谓

mock controller

幸福的无所谓 21 0 0

全栈学习笔记

Mem Controller

全栈学习笔记 32 0 0

骑在牛背上看书

cakephp 1.3 Controller

骑在牛背上看书 75 0 0

律楷粑粑

Laravel 生成Controller

律楷粑粑 76 0 0

8052cf60ff5c

@RestController和@Controller

8052cf60ff5c 89 0 0

精彩评论(0)

0 0 举报