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

Posted King-D

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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

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

以上是关于Caused by: java.lang.IllegalStateException: Ambiguous mapping found的主要内容,如果未能解决你的问题,请参考以下文章

Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:20880 Caused by: ja

Mathematical Problems Caused by CCD

Caused by SSLError

Caused by: java.lang.NoClassDefFoundError:

caused by a circular import.

异常Caused by: java.lang.ClassNotFoundException: org.springframework.dao.DataIntegrityViolationExcep