java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'occupationalHistoryController'
2016-08-09 15:46
966 查看
严重: 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 '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 'itemController' bean method
- java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'itemsController' bean method
- java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'cityController' bean method
- java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'itemCatController' bean method
- java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'XXXXX' bean
- Ambiguous mapping found. Cannot map 'xxxxController' bean method
- 【错误积累】Ambiguous mapping found. Cannot map '***Controller' bean method
- Ambiguous mapping found. Cannot map 'fancyController' bean method
- Ambiguous mapping found. Cannot map 'xxxxController' bean method
- Caused by: java.lang.IllegalStateException: Ambiguous mapping found. Cannot
- Java--- Ambiguous mapping. Cannot map "***Controller" been method解决办法
- Ambiguous mapping found. Cannot map 'complaintController' bean method
- nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map ***
- Java.lang.IllegalStateException: Ambiguous mapping found. Cannot
- Spring mvc Ambiguous mapping found. Cannot map controller bean method
- 解决 Ambiguous mapping found. Cannot map 'userController.Create' bean
- Ambiguous mapping found. Cannot map 'portalUserController' bean method
- SpringMVC“Ambiguous mapping found. Cannot map 'XXXController' bean method”解决方法
- java.lang.ClassNotFoundException: Cannot find class: BaseResultMap
- Could not resolve type alias 'categoryMap'. Cause: java.lang.ClassNotFoundException: Cannot find cl