如何解决这些Maven错误:classpath错误:无法找到..,ArtifactDescriptorException:无法读取工件描述符

时间:2011-12-08 04:17:55

标签: maven proxy eclipse-indigo

我尝试使用Springsource Tool Suite(STS),但我有很多编译错误。

classpath error: unable to find org.aspectj.lang.JoinPoint (check that aspectjrt.jar is in your classpath)  SpringApp       Unknown Java Problem

ArtifactDescriptorException: Failed to read artifact descriptor for cglib:cglib-nodep:jar:2.2: ArtifactResolutionException: Failure to transfer cglib:cglib-nodep:pom:2.2 from http://maven.springframework.org/release was cached in the local repository, resolution will not be reattempted until the update interval of spring-maven-release has elapsed or updates are forced. Original error: Could not transfer artifact cglib:cglib-nodep:pom:2.2 from/to spring-maven-release (http://maven.springframework.org/release): null to http://maven.springframework.org/release/cglib/cglib-nodep/2.2/cglib-nodep-2.2.pom   pom.xml /SpringApp  line 1  Maven Dependency Problem

Failure to transfer org.codehaus.mojo:aspectj-maven-plugin:pom:1.2 from http://maven.springframework.org/release was cached in the local repository, resolution will not be reattempted until the update interval of spring-maven-release has elapsed or updates are forced. Original error: Could not transfer artifact org.codehaus.mojo:aspectj-maven-plugin:pom:1.2 from/to spring-maven-release (http://maven.springframework.org/release): null to http://maven.springframework.org/release/org/codehaus/mojo/aspectj-maven-plugin/1.2/aspectj-maven-plugin-1.2.pom   pom.xml /SpringApp  line 1  Maven pom Loading Problem

我在stackoverflow中发现了很多问题,但没有答案。

1 个答案:

答案 0 :(得分:1)

我只是设置IDE的代理设置和Maven settings.xml代理设置。