2022/09/01(목) MyBatis로 DB 조회 시 출력된 에러 1. 에러 코드 : ested exception is org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 3 조회시에 하나의 값만 가지고 와야하는데 3개가 조회되서 나오는 에러 해결 방법 1. 조회 해와야하는 값이 2개 이상이라면 List 형태로 값을 받아와주면 된다. MyBatis로 DB 조회 시 출력된 에러 2. It's likely that neither a Result Type nor a Result Map was specified. 결과나 유형의 값이 제대로..