java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'occupationalHistoryController'
来源:互联网 发布:淘宝信用还款方式 编辑:程序博客网 时间:2024/05/29 17:51
严重: Allocate exception for servlet springmvc
java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'payFrontPhoneController' bean method
public void com.jiedaibao.skyserverj.controller.payfront.PayFrontPhoneController.batchUnshelve(java.lang.String,java.lang.String,javax.servlet.http.HttpServletResponse)
to {[/PayFrontPhoneController/merchantBatchUnshelve],methods=[POST || GET],params=[],headers=[],consumes=[],produces=[],custom=[]}: There is already 'payFrontPhoneController' bean method
public void com.jiedaibao.skyserverj.controller.payfront.PayFrontPhoneController.merchantBatchUnshelve(java.lang.String,java.lang.String,javax.servlet.http.HttpServletResponse) mapped.
这是因为 当前的control 下有相同的 requestMapping(value ="123") ctrl +F 找下123 就看到了
- java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'occupationalHistoryController'
- java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'XXXXX' bean
- Java.lang.IllegalStateException: Ambiguous mapping found. Cannot
- java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'cityController' bean method
- java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'itemController' bean method
- Caused by: java.lang.IllegalStateException: Ambiguous mapping found. Cannot
- nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map ***
- 异常java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'xxx' method
- java.lang.IllegalStateException: Ambiguous mapping found.
- java.lang.IllegalStateException: Ambiguous mapping
- Caused by: java.lang.IllegalStateException: Ambiguous mapping found
- Ambiguous mapping found. Cannot map 'xx' method
- Ambiguous mapping found. Cannot map 'fancyController' bean method
- Ambiguous mapping found. Cannot map 'portalUserController' bean method
- Ambiguous mapping found. Cannot map 'xx' bean method异常
- 【错误积累】Ambiguous mapping found. Cannot map '***Controller' bean method
- Ambiguous mapping found. Cannot map 'complaintController' bean method
- Spring mvc Ambiguous mapping found. Cannot map controller bean method
- php mysql拆分表操作
- redis集群安装
- 京东m.jd站点静态页实现(首页) H5
- 日志级别的选择:Debug、Info、Warn、Error还是Fatal
- light oj 1080 区间更新
- java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'occupationalHistoryController'
- 判断点是否在多边形区域里面
- 如何理解hibernate
- java String与StringBuffer的效率分析
- 一点一点学maven(11)——Eclipse开发Maven项目提示:程序包org.junit不存在解决方案
- 数据结构实验之串二:字符串匹配
- Oracle 索引 详解
- MR程序编写
- javaWeb---Servlet与反射