
Published on August 03, 2021 by Eunbi.N
Errornote Spring-Error Tomcat-Error Mapping-Error
# javax.servlet.ServletException:
java.lang.NoClassDefFoundError:
javax/servlet/ServletInputStream
# Request processing failed;
nested exception is org.mybatis.spring.MyBatisSystemException:
nested exception is org.apache.ibatis.binding.BindingException:
Parameter 'A' not found. Available parameters area[B]
# Scope 'session' is not active for the current thread;
consider defining a scoped proxy for this bean
if you intend to refer to it from a singleton;
nested exception is java.lang.IllegalStateException
# java.lang.IllegalArgumentException: Mapped Statements collection does not contain value
mapper id Check : mapper 파일 - DAO, VO 비교
Parameter와 bean의 필드명이 다른 경우
mapper 파일 namespace 가 다를 경우
mapper에 정의된 namespace 중복될 경우
MyBatis config 파일에 정의가 되어 있지 않거나 Spelling이 틀린 경우
# @Requestbody 415 에러
$.ajax 블록{ dataType:’json’, } 추가
consumes = MediaType.APPLICATION_JSON_UTF8_VALUE
Request Header
mapper에 정의된 namespace 중복될 경우
MyBatis config 파일에 정의가 되어 있지 않거나 Spelling이 틀린 경우
# Ajax 일정 삭제 성공하는데도 error data 출력됨 (success 메세지 출력 실패)
#
#
#
#