ArtifactTransferException: Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:3.0.2 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:3.0.2 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled.
java.lang.reflect.InvocationTargetException
해결방법1>>
maven을 이클립스에 연동하다가 이런 오류가 발생한다면, C:\Users\{사용자이름}\.m2\repository 안에 있는 lastupdated파일을 삭제 시켜주어야 한다.
해결방법2>>
cmd로 삭제하는 방법
cd %userprofile%\.m2\repository
for /r %i in (*.lastUpdated) do del %i
출처 : https://stackoverflow.com/questions/5074063/maven-error-failure-to-transfer
'학부 정리 > 오류' 카테고리의 다른 글
[기타-오류] SyntaxHighlighter Can't find brush 오류 (1) | 2017.08.10 |
---|