Programming/에러노트

Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias

개발도비 2022. 5. 3. 10:25

Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/spring/root-context.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [C:\Users\jaeou\IdeaProjects\CRUD\out\artifacts\CRUD_war_exploded\WEB-INF\classes\mappers\article\articleMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'ArticleVO'.  Cause: java.lang.ClassNotFoundException: Cannot find class: ArticleVO

 

 

typealias 지정을 안 해서 생겼던 오류

(내 경우엔 파일 자체가 없었다!)  

 

 

https://show0910.tistory.com/5

 

톰캣 실행중 발생한 오류 로그 / Cause: java.lang.ClassNotFoundException: Cannot find class: BoardVO

톰캣을 실행하는 중 아래와 같은 Error가 발생하였다. Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework..

show0910.tistory.com

https://sas-study.tistory.com/193

 

[Mybatis] 스프링 mybatis 사용 시, 객체 alias 설정하는 방법

보통 mybatis xml 파일에 쿼리문을 작성할 때 parameterType 과 resultType을 적어 파라미터의 자료형과 반환 타입의 자료형을 적습니다. select * from tblBoard where boardSeq = #{boardSeq} 이 쿼리문의 param..

sas-study.tistory.com