2
我想爲我的portlet RenderRequest
@RequestMapping錯誤的RenderRequest
@RequestMapping("view.jsp", params="test")
public void doSome(RenderRequest request, RenderResponse response){
}
做RequestMapping
但我得到多個錯誤,如
Multiple markers at this line
- Syntax error on token ""view.jsp"", invalid MemberValuePairs
- The attribute value is undefined for the annotation type
RequestMapping
- RequestMapping cannot be resolved to a type
爲什麼?