Heeseonn 2022. 12. 18. 22:20
  1. Mybatis mapping 에러

SEVERE: 경로 []의 컨텍스트 내의 서블릿 [appServlet]을(를) 위한 Servlet.service() 호출이, 근본 원인(root cause)과 함께, 예외 [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'searchword' not found. Available parameters are [searchWord, page, param1, param2]]을(를) 발생시켰습니다. org.apache.ibatis.binding.BindingException: Parameter 'searchword' not found. Available parameters are [searchWord, page, param1, param2]

→ 파라미터 변수를 잘못 지정하여 생긴 문제. 오류 해결.

 

2. Ajax에서 테이블 정보를 받아오면 테이블이 새로 업데이트되어야 하는데,

추가되는 오류 발견

→ 해결: $().empty, table = null;을 추가

 

3. Mybatis like검색

https://fruitdev.tistory.com/60

 

4. Mybatis 다중 파라미터

  • int형과 String형의 파라미터여서 @Param 사용