스프링 게시판 만들기 예제를 하던중에 DB연결 라이브러리 추가하는 부분에서 복사한 <dependeny> 를 추가하니 에러가 떴다
에러내용
Publishing failed with multiple errors
Error reading file C:\Users\gjwns\.m2\repository\org\springframework\spring-context\4.01.RELEASE\spring-context-4.01.RELEASE.jar
C:\Users\gjwns\.m2\repository\org\springframework\spring-context\4.01.RELEASE\spring-context-4.01.RELEASE.jar (지정된 파일을 찾을 수 없습니다)
Error reading file C:\Users\gjwns\.m2\repository\org\springframework\spring-webmvc\4.01.RELEASE\spring-webmvc-4.01.RELEASE.jar
C:\Users\gjwns\.m2\repository\org\springframework\spring-webmvc\4.01.RELEASE\spring-webmvc-4.01.RELEASE.jar (지정된 파일을 찾을 수 없습니다)
구글링을 하던중에 저 경로에서 말하는 jar 파일을 확인해보라는 글을 보고 확인을 해보니 저 파일이 없었다
알고보니 pom.xml 부분 spring의 버전을 수정하는중에 오타가나서 4.0.1 로 하려던게 4.01 로 된게 아닌가 싶다
pom.xml 버전부분을 수정하니 간단히 해결
'해결' 카테고리의 다른 글
Spring - Missing artifact javax.servlet:servlet-api:jar:3.1.0 (0) | 2022.04.22 |
---|---|
Eclipse / namespaces 가 안뜨는 현상 (0) | 2022.04.20 |
서비스를 삭제할수없습니다 (0) | 2022.04.19 |