:D/Spring

[Tomcat]The absolute uri: '~~' cannot be resolved in either web.xml or the jar files (....)

긍뎡 2024. 3. 18. 09:18

잘 쓰고 있던 로컬 서버용 사이트가 메인 페이지 진입 시 500 에러가 발생했다.

로그를 보니

The absolute uri: http://egovframework.gov/ctl/ui cannot be resolved in either web.xml or the jar files deployed with this application

검색해보니 이런 케이스가 종종 있었던 것 같다.

https://egovframe.go.kr/home/qainfo/qainfoRead.do?menuNo=69&qaId=QA_00000000000017254

위 에러는 egovframework.rte.ptl.mvc-3.8.0.jar 파일을 repository 에서 제대로 받아오지 못하는 것 같다.

(방화벽 문제..?)

그렇다기엔 .m2 디렉토리에 해당 jar 가 있다..

어찌됐든 개발 테스트는 계속해야 하니

해당 jar 파일을 톰캣 설치 디렉토리/lib 폴더에 직접 넣어줬다.

하나를 해결하고 나니 계속해서 비슷한 에러 발생

The absolute uri: http://www.springframework.org/tags/form cannot be resolved in either web.xml or the jar files deployed with this application

이 에러는

이 jar를,

The absolute uri: http://www.springmodules.org/tags/commons-validator cannot be resolved in either web.xml or the jar files deployed with this application

얘는

얘를 톰캣 디렉토리/lib에 설치함으로써 정상적으로 로컬 테스트가 가능해졌다....