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

厌伴老儒烹瓠叶,强随举子踏槐花。这篇文章主要讲述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】报错为:Caused by: java.lang.IllegalStateException: Ambiguous mapping found. Cannot map ‘ myCockpitMgrController’ bean method
是因为两个请求,请求到同一个地址上,代码分不清楚需要往哪个接口上跳转.所以才会出现这样的异常

    推荐阅读