maven - 无法找到资源

时间:2011-09-16 13:49:21

标签: eclipse maven-2 m2eclipse

每当我在我正在运行的项目上运行maven构建时,我得到了这个:

Downloading: http://maven.restlet.org//org/jboss/aop/jboss-aop/2.0.0-SNAPSHOT/jboss-aop-2.0.0-SNAPSHOT.pom
[INFO] Unable to find resource 'org.jboss.aop:jboss-aop:pom:2.0.0-SNAPSHOT' in repository restlet (http://maven.restlet.org/)
Downloading: http://snapshots.jboss.org/maven2/org/jboss/aop/jboss-aop/2.0.0-SNAPSHOT/jboss-aop-2.0.0-SNAPSHOT.pom
[INFO] Unable to find resource 'org.jboss.aop:jboss-aop:pom:2.0.0-SNAPSHOT' in repository jboss-snapshots (http://snapshots.jboss.org/maven2)
Downloading: http://maven.restlet.org//org/jboss/javaee/jboss-jca-api/1.5.0-SNAPSHOT/jboss-jca-api-1.5.0-SNAPSHOT.pom
[INFO] Unable to find resource 'org.jboss.javaee:jboss-jca-api:pom:1.5.0-SNAPSHOT' in repository restlet (http://maven.restlet.org/)
Downloading: http://snapshots.jboss.org/maven2/org/jboss/javaee/jboss-jca-api/1.5.0-SNAPSHOT/jboss-jca-api-1.5.0-SNAPSHOT.pom
[INFO] Unable to find resource 'org.jboss.javaee:jboss-jca-api:pom:1.5.0-SNAPSHOT' in repository jboss-snapshots (http://snapshots.jboss.org/maven2)

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

这很简单。你想要使用的包不在那里。尝试找到另一个存储库,或者您的工件可能已重命名。我在jboss-aop存储库中找到了http://repository.jboss.org/