Ambiguous mapping found. Cannot map 'portalUserController' bean method
来源:互联网 发布:米家有品 知乎 编辑:程序博客网 时间:2024/06/02 23:44
产生环境:spring下产生的错误
产生原因:portalUserController下某两个方法的映射名相同,导致这个错误.
全部错误信息:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'portalUserController' bean method
0 0
- Ambiguous mapping found. Cannot map 'portalUserController' bean method
- Ambiguous mapping found. Cannot map 'fancyController' 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
- Ambiguous mapping found. Cannot map 'xxxxController' bean method
- SpringMVC“Ambiguous mapping found. Cannot map 'XXXController' bean method”解决方法
- Ambiguous mapping found. Cannot map 'xx' method
- java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'cityController' bean method
- java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'itemController' bean method
- java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'XXXXX' bean
- 解决 Ambiguous mapping found. Cannot map 'userController.Create' bean
- Ambiguous mapping. Cannot map 'XXXXXController' method
- Ambiguous mapping. Cannot map 'XXXXXController' method
- Ambiguous mapping. Cannot map 'initController' method
- Java--- Ambiguous mapping. Cannot map "***Controller" been method解决办法
- Ambiguous mapping. Cannot map "***Controller" been method解决办法
- 即时通讯(IM)面试题
- 软键盘开关
- MySQL服务无法启动,服务没有报告任何错误的解决办法
- iOS 去掉UINavigationController(导航控制器)去除底部黑线、改背景颜色或者改为全透明
- 五大常用算法——分治法,动态规划,回溯法,分支界限法,贪心算法
- Ambiguous mapping found. Cannot map 'portalUserController' bean method
- 【REACT NATIVE 系列教程之八】不使用NAVIGATOR实现切换(页面)场景的两种形式(逻辑与MODAL)
- CLOSE_WAIT状态的生成原因
- https://segmentfault.com/a/1190000002645623
- XML学习笔记
- TrueCrypt所支持的3种加密算法AES、Twofish、Serpent的简单介绍
- Java虚拟机类加载机制
- Dashgo D1硬件清单
- zabbix 监控php-fpm