Ambiguous handler methods mapped for HTTP path 'http://localhost:8080/runyu/a/res/resource': {public
2016-09-07 14:13
573 查看
错误显示:
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", ""})
这个意思是说可以使用前面,也可使用后面,当两个一样为后面时,就找的相同没法识别。
最后改为这个就正确了:
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", ""})
这个意思是说可以使用前面,也可使用后面,当两个一样为后面时,就找的相同没法识别。
最后改为这个就正确了:
相关文章推荐
- Ambiguous handler methods mapped for HTTP path。。这是映射重复出现的错误!出现
- SpringMVC 报错java.lang.IllegalStateException: Ambiguous handler methods mapped for HTTP path
- Ambiguous handler methods mapped for HTTP path
- Ambiguous handler methods mapped for HTTP path
- Ambiguous handler methods mapped for HTTP path
- 发布b3log-solo后,访问http://localhost:8080/b3log-solo/提示错误为staticServePath Error。
- 使用ControllerAdvice注意事项,Ambiguous @ExceptionHandler method mapped for [class org.springframework.web.bind.MethodArgumentNotValidException]
- 警告: Can't find the request for http://localhost:8080/ibatisSpringDemo/ws/testWS's Observer
- http://localhost:8080/ 打开 错误
- Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/aop]
- 关于liferay启动界面(在浏览器里录入http://localhost:8080后打开的界面)的定制
- [转]eclipse3.6(helios)配置Tomcat后无法访问http://localhost:8080/
- eclipse3.6_jee启动tomcat无法访问http://localhost:8080/
- 特殊Url处理。例如addActionpop.htm?url='http://localhost:8080/PowerPlayer.p3x?Tid=1826&Cid=152728&Fid=376424'&code=eeee@MG
- 启动tomcat和myeclipse后,http://localhost:8080无法访问
- CA1062:ValidateArgumentsOfPublicMethods for params
- dataStage下编写javaStage报错TJStage::initialize: initializing Transformer for Java stage; resource path not found
- Unable to locate Spring NamespaceHandler for XML schema namespace [http://ww
- TOMCAT服务器不能打开http://localhost:8080解决方法
- http://localhost:8080/struts-blank/的流程