오류해결
Servlet.service() for servlet [appServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause java.lang.NullPointerException
bedst
2016. 9. 23. 14:25
Servlet.service() for servlet [appServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause java.lang.NullPointerException
이 오류는 Query에 Null 값이 들어갔을 경우 발생하는 문제입니다.
해결 방법은 Controller, DAO, Service 단에서 각각에 넘겨주는 쿼리값의 주입이 정확히 됐는지 확인하시면 됩니다.