Carpe Programming/eGovFramework
[전자정부프레임워크] Consider declaring the argument type in a less specific fashion.
nolite
2011. 8. 29. 10:36
[Question]
가이드의 파일관리를 보고 작성중입니다.
context-common.xml
context-properties.xml
두가지는 잘 입력 하였습니다.
@RequestMapping
public String addFind(
final MultipartHttpServletRequest multiRequest
,Map commandMap
,Model model
,SessionStatus status
)throws Exception {
}
컨트롤러에서는 이런식으로 작성되어 있는데 처음 함수 호출 되는 즉시 에러가 납니다.
java.lang.IllegalStateException: Standard argument type [org.springframework.web.multipart.MultipartHttpServletRequest] resolved to incompatible value of type [class egovframework.rte.ptl.mvc.filter.HTMLTagFilterRequestWrapper]. Consider declaring the argument type in a less specific fashion.
어떤게 문제일까요..
<from eGovframe Portal Q&A>
|
11.04.04-18:53:34 |
728x90