[Spring] Missing artifact - Maven 외부 라이브러리 추가

John·2022년 10월 26일

개발 메모🌷

목록 보기
5/13
post-thumbnail

관리가 전혀 되지 않고 있던 Legacy Project를 인수인계 받았습니다.
프로젝트를 내려받고 바로 인사하는 에러..😓

화이팅하자.. ❗ 할 ❗ 수 ❗ 있 ❗ 다 ❗


문제사항

pom.xml의 dependency wnd egovframework에 대해 Missing artifact 오류 발생

문제사항


해결

라이브러리 추가

사용할 라이브러리를 프로젝트 내 lib 폴더 하위에 추가합니다.

lib


Local Repository 추가

repo_add

환경변수설명
${project.basedir}The directory that the current project resides in
${project.baseUri}The directory that the current project resides in, represented as an URI. Since Maven 2.1.0

dependency 추가

dependency_add


결과

Maven Repository(Missing artifact) → Local Repository 변경 후 오류 수정 완료됐습니다. :)

이후 Update Maven Project 진행 시 정상 작동 됩니다.

mod


참고
[Maven Guide] ${project.basedir}
[Maven] 메이븐을 사용한 외부 라이브러리 추가하는 방법

profile
기록을 습관으로

1개의 댓글

comment-user-thumbnail
2025년 4월 30일

The list of development memos is really full! Especially the legacy project AWS transfer and Spring Security reorganization are issues that we encounter a lot in practice, so thank you for sharing your great experience.2025 메이저사이트 TOP 5

답글 달기