SpringMVC“Ambiguous mapping found. Cannot map 'XXXController' bean method”解决方法
来源:互联网 发布:如何开一家淘宝网店 编辑:程序博客网 时间:2024/06/11 15:52
今天搭的项目启动时报错
Ambiguous mapping. Cannot map 'XXXXXController' method
出现这种问题的原因是:
@RequestMapping(value=XXX) 可能是同一个Controller或者是不同的Controller的XXX重名导致。
我的报错是因为在不同的Controller中(value="xxx")中的xxx相同,将xxx改不同就可以了
阅读全文
0 0
- SpringMVC“Ambiguous mapping found. Cannot map 'XXXController' bean 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
- Ambiguous mapping found. Cannot map 'xxxxController' bean method
- Ambiguous mapping found. Cannot map 'xx' method
- Cannot map 'XXXController.Create' 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
- 解决 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
- springMVC : Ambiguous mapping found
- Android studio NDK笔记3-JNI添加打印信息
- Fiddler接口健壮性测试
- HTML5(十五)
- 疯狂Spring Cloud连载(26)消息代理RabbitMQ框架
- Redis服务停止报错解决方案[NOAUTH Authentication required]
- SpringMVC“Ambiguous mapping found. Cannot map 'XXXController' bean method”解决方法
- 文字打怪小游戏
- 代码片段----重载操作符
- 基础练习 字母图形
- scikit-learn 中文文档-成对的矩阵, 类别和核函数-用户指南|ApacheCN
- 速算+记忆经历
- Makefile 编译动态库文件及链接动态库
- JavaScript基础知识——apply、call、bind
- div的要应用