Caused by: java.lang.IllegalStateException: Ambiguous mapping found

Caused by: java.lang.IllegalStateException: Ambiguous mapping found. Cannot map ‘myCockpitMgrController’ bean method

报错为:Caused by: java.lang.IllegalStateException: Ambiguous mapping found. Cannot map ‘myCockpitMgrController’ bean method

是因为两个请求,请求到同一个地址上,代码分不清楚需要往哪个接口上跳转.所以才会出现这样的异常

posted @ 2019-09-16 18:37  King-DA  阅读(939)  评论(0编辑  收藏  举报