티스토리 뷰

728x90

org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'com.ujin.product.model.dao.ProductDao.getProduct'. It's likely that neither a Result Type nor a Result Map was specified. org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)

 

select 문에는 반드시(?) resultType이 명시되어야하는데 해주지 않아서 발생한 오류!!!

반응형