Spring/Spring: 에러 정리

[Spring:에러정리] form 태그의 path의 속성 값이 없을 경우 발생하는 에러

데브마우스 2024. 2. 13. 10:33

에러 메시지

Invalid property 'path의 속성값' of bean class [패키지이름.클래스이름]: Bean property ' path의 속성값' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?

 

에러 원인

JSP의 form 태그 사용 시 form 태그의 path 속성의 getter 혹은 setter 메서드가 없을 경우 발생하는 에러입니다.

 

해결 방법

JSP파일에서 form태그의 path의 속성 값에 오타가 있는지 확인해보세요.