Ambiguous handler methods mapped for HTTP path 'http://localhost:8080/runyu/a/res/resource': {public
来源:互联网 发布:base64 js 编辑:程序博客网 时间:2024/06/14 00:47
错误显示:
Ambiguous handler methods mapped for HTTP path 'http://localhost:8080/runyu/a/res/resource': {public java.lang.String com.jeeplus.modules.res.web.ResourceController.list(com.jeeplus.modules.res.entity.Resource,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.springframework.ui.Model), public java.lang.String com.jeeplus.modules.res.web.ResourceController.rflist(com.jeeplus.modules.res.entity.Resource,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.springframework.ui.Model)}
@RequestMapping(value = {"list", ""})
这个意思是说可以使用前面,也可使用后面,当两个一样为后面时,就找的相同没法识别。
最后改为这个就正确了:
0 0
- Ambiguous handler methods mapped for HTTP path 'http://localhost:8080/runyu/a/res/resource': {public
- Ambiguous handler methods mapped for HTTP path
- Ambiguous handler methods mapped for HTTP path
- Ambiguous handler methods mapped for HTTP path
- SpringMVC 报错java.lang.IllegalStateException: Ambiguous handler methods mapped for HTTP path
- HTTP Methods
- Http methods
- HTTP - Methods
- Using HTTP Methods for RESTful Services
- http://localhost:8080/hohode
- http://localhost:8080/hohode
- Unknown default host [localhost] for connector [Connector[HTTP/1.1-8080]]
- http://localhost/
- java.io.IOException: Server returned HTTP response code: 505 for URL: http://localhost:8080/fish/add
- tomcat网站地址: http://localhost:8080改为http://localhost
- Accessing a Resource over HTTP-NetworkUtils
- http://localhost:8080/ 打开 错误
- http://localhost:8080/不显示
- 如何将Eclipse中的项目迁移到Android Studio 中
- 基础备忘:C++编译期多态与运行期多态
- linux命令 at
- Android 启动程序时,进入的动态效果
- JAVA实现将数组存入二叉树中
- Ambiguous handler methods mapped for HTTP path 'http://localhost:8080/runyu/a/res/resource': {public
- spring框架学习(四)自动装配
- Scala 异常处理
- 使用Ruby DBI模块
- 线程与进程
- 欢迎使用CSDN-markdown编辑器
- linux命令crontab
- 如何正确选择云服务?|创业公司做产品的感想
- spring框架学习(五)注解