SpringMVC No handler mapping found for [/getpizhuhistory.mvc]
@ResponseBody
@RequestMapping("/getpizhuhistory.mvc")
public String getPizhuHistory() {
return ***;
}
原因:缺少以下配置
<!--支持SpringMVC特有的注解 -->
<mvc:annotation-driven />
SpringMVC No handler mapping found for [/getpizhuhistory.mvc]
@ResponseBody
@RequestMapping("/getpizhuhistory.mvc")
public String getPizhuHistory() {
return ***;
}
原因:缺少以下配置
<!--支持SpringMVC特有的注解 -->
<mvc:annotation-driven />