증상 : Application 기동시 "Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 31; columnNumber: 17; Premature end of file." 오류 발생
발생 원인 :
- xml파일의 내용이 없는 것 (Size = 0)
- xml파일 자체가 없는 경우
- 인코딩 문제 혹은 xml이 제대로 닫히지 않았을 때
해결 :
xml 파일을 Core module로 분리하면서 Mapper.xml 파일 위치가 변경되었는데,
테스트 후 삭제하려고 기존에 사용하던 Mapper.xml을 주석처리 해두었었음
-> 사용하지 않는 XML을 삭제하니 해결 됨
'☠️ TroubleShooting' 카테고리의 다른 글
[SQS] An exception occurred while stopping queue (0) | 2023.07.20 |
---|---|
네이버 플레이스 크롤링시 404 Not Found 발생 현상 (0) | 2023.02.12 |
[AWS RDS] Local AWS RDS 연결 에러: (2003, "Can't connect to MySQL server on 'db-name') (0) | 2022.12.17 |
[AWS RDS] Access denied for user 'admin'@'localhost' (using password: YES) (0) | 2022.12.17 |