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 就看到了

0 0
原创粉丝点击