Java--- Ambiguous mapping. Cannot map "***Controller" been method解决办法
来源:互联网 发布:地下车库层高算法 编辑:程序博客网 时间:2024/05/22 13:21
打开网页报错:
Ambiguous mapping. Cannot map 'handController' method
public com.smallchill.core.toolbox.ajax.AjaxResult com.smallchill.smtlamp.controller.HandController.AC2off(java.lang.String)
to {[/hand/AC1off]}: There is already 'handController' bean method
public com.smallchill.core.toolbox.ajax.AjaxResult com.smallchill.smtlamp.controller.HandController.AC1off(java.lang.String) mapped.
解决办法:
@RequestMapping()中的url重复了,修改为不同的url即可;
更多iOS、Android、Python、Java、MySQL的文章,请点击:
http://blog.csdn.net/jamiecheung
更多Java、Unity3D的文章,请点击:
http://blog.csdn.net/u010841622
阅读全文
0 0
- Java--- Ambiguous mapping. Cannot map "***Controller" been method解决办法
- Ambiguous mapping. Cannot map "***Controller" been method解决办法
- 【错误积累】Ambiguous mapping found. Cannot map '***Controller' bean method
- Spring mvc Ambiguous mapping found. Cannot map controller bean method
- 异常java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'xxx' method
- Ambiguous mapping. Cannot map 'XXXXXController' method
- Ambiguous mapping found. Cannot map 'xx' method
- Ambiguous mapping. Cannot map 'XXXXXController' method
- Ambiguous mapping. Cannot map 'initController' 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 'complaintController' bean method
- Ambiguous mapping found. Cannot map 'xxxxController' bean method
- SpringMVC“Ambiguous mapping found. Cannot map 'XXXController' bean 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
- 前端知识图谱_你值得收藏
- MFC 常见错误(不定期更新)
- iOS app被拒------iOS 提交应用到 APP Store 因包含微信和支付宝支付被拒
- http://click.aliyun.com/m/22427/
- jquery清空文本内容
- Java--- Ambiguous mapping. Cannot map "***Controller" been method解决办法
- Python语法大全(持续更新中ing)
- JS_HTML_DOM
- dialog弹出刷新指定父iframe的方法
- 百度无人车和天工物联网都使用了时序数据库,但是你有多了解时序数据库?
- iOS 开发获取验证码倒计时
- Android 启动页面简单优化
- ファイル読み取りおよび出力
- Hive数据仓库相关操作