본문 바로가기
Study/SPRING

Spring 에러 - Description Resource Path Location Type Failed to read artifact descriptor for

by 멘탈은안녕하신가 2020. 8. 24.
728x90
반응형
  • 에러 내용 : Description        Resource        Path        Location        Type Failed to read artifact descriptor for egovframework.rte:egovframework.rte.psl.dataaccess:jar:3.8.0  org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for egovframework.rte:egovframework.rte.psl.dataaccess:jar:3.8.0         at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:255)         at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:171)         at org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector.resolveCachedArtifactDescriptor(DefaultDependencyCollector.java:541)         at org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector.getArtifactDescriptorResult(DefaultDependencyCollector.java:524)         at org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:412)         at org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:365)         at org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector.process(DefaultDependencyCollector.java:352)         at org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:254)         at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:284)         at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:169)         at org.apache.maven.project.DefaultProjectBuilder.resolveDependencies(DefaultProjectBuilder.java:227)         at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:200)         at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:124)         at org.eclipse.m2e.core.internal.embedder.MavenImpl.readMavenProject(MavenImpl.java:629)         at org.eclipse.m2e.core.internal.project.registry.DefaultMavenDependencyResolver.resolveProjectDependenci

 

  • 문제 : Maven resources plugin, repositories 찾지 못해 발생하는 문제
  • 해결 방법 : pom.xml 아래 dependency 추가해준다.

<repositories>
    <repository>
        <id>spring-releases</id>
        <name>Spring Releases</name>
        https://repo.spring.io/libs-release
    </repository>
</repositories>

 

<pluginRepositories>
    <pluginRepository>
        <id>spring-releases</id>
        <name>Spring Releases</name>
        https://repo.spring.io/libs-release
    </pluginRepository>
</pluginRepositories>

 

        <dependency>

    <groupId>org.apache.maven.plugins</groupId>

    <artifactId>maven-resources-plugin</artifactId>

    <version>2.4.3</version>

</dependency>

 

참조 1 : https://stackoverflow.com/questions/39845810/artifactdescriptorexception-failed-to-read-artifact-descriptor/39869435

참조 2 : http://jin-study.blogspot.com/2014/03/maven-maven-plug-in.html

728x90
반응형

댓글