org.springframework.beans.factory.BeanCreationException: 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 config resource: class path resource [mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 277; columnNumber: 10; 요소 유형 "mapper"의 콘텐츠는 "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+"과(와) 일치해야 합니다.
mybatis mapper파일에서 태그 사이에 인식할 수 없는 내용이 들어가면 발생하는 에러
mapper파일 태그들 중간에 실수로 글자가 삽입되어 있었음.................]
삭제 후 해결
'Errors' 카테고리의 다른 글
[JavaScript]디버거에서 일시중지됨 안사라질때 (0) | 2023.01.22 |
---|---|
[JavaScript]String + String 하는데 뜬금없이 NaN이 나올 때 (0) | 2023.01.22 |
ORA-00923: FROM keyword not found where expected (0) | 2023.01.18 |
ORA-01747: invalid user.table.column, table.column, or column specification (0) | 2023.01.17 |
mybatis -mapper: The markup in the document following the root element must be well-formed. (0) | 2023.01.12 |