DB연결을 위해 DB정보를 넣은 xml 파일에서 에러가 났다.
이유를 찾아보니 ibatis 사이트가 폐쇄되며 dtd 경로가 바뀌었다.
소스에서 정의되어 있는 경로를 찾아 모두 수정하면 에러가 사라지고 정상 작동한다.
Element type "dataSource" must be declared
Element type "property" must be declared
Element type "settings" must be declared
Element type "sqlMapConfig" must be declared
Element type "transactionManager" must be declared
기존경로 : http://www.ibatis.com/dtd
변경경로 : http://www.ibatis.apache.org/dtd

--> 새로운 에러가 생겼다.
Error while downloading 'http://www.ibatis.apache.org/dtd/sql-map-config-2.dtd' to
변경한 docType 에 수정해야할 것이 하나 더 있다.


이렇게 변경하면 된다.
이후 추가 발생하여 아래와 같이 조치.
Element type "sqlMap" must be declared.
옛날 소스에서 정의되지 않은 형식이라며 에러가 우르르 쏟아져 나온다. 지난 번에도 겪었듯이 아이바티스 사이트 폐쇄로 인한 에러다. https://zeromi.tistory.com/84 ibatis 경로 에러 (경로 수정하기) DB
zeromi.tistory.com
'Exception' 카테고리의 다른 글
| org.springframework.beans.factory.BeanCreationException (0) | 2021.11.26 |
|---|---|
| Element type "sqlMap" must be declared. (0) | 2021.11.26 |
| %1은(는) 올바른 Win32 응용 프로그램이 아닙니다. (0) | 2021.11.26 |
| war 안 풀릴 때 (Apache Commons Daemon procrun stdout initialized) (0) | 2021.11.26 |
| 이클립스 한글 깨질 때 인코딩 설정 (Eclipse Encoding Setting) (0) | 2021.11.26 |
| java.lang.UnsupportedOperationException (0) | 2021.11.26 |
| Ajax request.responseText 한글 깨짐 현상 (0) | 2021.11.26 |
| 이클립스 The selection cannot be launched and there are no recent launches (0) | 2018.04.09 |