当前位置: 首页 > 知识库问答 >
问题:

错误建造象-鸟-猪

康恩
2023-03-14
mvn clean install -U -Dprotobuf.version=2.5.0 -Dmaven.test.skip=true -Dmaven.repo.local=localrepo
Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com

我试过了

mvn clean install -U -Dprotobuf.version=2.5.0 -Dmaven.test.skip=true -Dmaven.repo.local=localrepo

它产生了同样的错误,只是它再次开始下载文件,并且需要更长的时间才能到达错误。

原创内容

$ protoc --version
libprotoc 2.5.0
$ thrift -version
Thrift version 0.7.0
git clone git://github.com/kevinweil/elephant-bird.git
mvn -Dprotobuf.version=2.5.0 -Dmaven.test.skip=true package
[INFO] ------------------------------------------------------------------------
[INFO] Building Elephant Bird Pig 4.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Elephant Bird ...................................... SUCCESS [  0.643 s]
[INFO] Elephant Bird Hadoop Compatibility ................. SUCCESS [  2.514 s]
[INFO] Elephant Bird Core ................................. SUCCESS [ 25.494 s]
[INFO] Elephant Bird Cascading2 ........................... SUCCESS [  2.650 s]
[INFO] Elephant Bird Crunch ............................... SUCCESS [  3.218 s]
[INFO] Elephant Bird Hive ................................. SUCCESS [  2.342 s]
[INFO] Elephant Bird Pig .................................. FAILURE [  0.238 s]
[INFO] Elephant Bird Mahout ............................... SKIPPED
[INFO] Elephant Bird RCFile ............................... SKIPPED
[INFO] Elephant Bird Lucene ............................... SKIPPED
[INFO] Elephant Bird Pig Lucene ........................... SKIPPED
[INFO] Elephant Bird Examples ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37.748 s
[INFO] Finished at: 2015-10-10T20:02:11-04:00
[INFO] Final Memory: 48M/964M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project elephant-bird-pig: Could not resolve dependencies for project com.twitter.elephantbird:elephant-bird-pig:jar:4.11-SNAPSHOT: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :elephant-bird-pig
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Elephant Bird Pig 4.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
....
Skipping >>>>>>>
....
[DEBUG]       commons-codec:commons-codec:jar:1.4:compile
[DEBUG]       commons-net:commons-net:jar:1.4.1:provided
[DEBUG]       org.mortbay.jetty:jetty:jar:6.1.26:provided
[DEBUG]          org.mortbay.jetty:servlet-api:jar:2.5-20081211:provided
[DEBUG]       org.mortbay.jetty:jetty-util:jar:6.1.26:provided
[DEBUG]       tomcat:jasper-runtime:jar:5.5.12:provided
[DEBUG]       tomcat:jasper-compiler:jar:5.5.12:provided
[DEBUG]       org.mortbay.jetty:jsp-api-2.1:jar:6.1.14:provided
[DEBUG]       org.mortbay.jetty:jsp-2.1:jar:6.1.14:provided
[DEBUG]          org.eclipse.jdt:core:jar:3.1.1:provided
[DEBUG]          ant:ant:jar:1.6.5:test (scope managed from compile by com.twitter.elephantbird:elephant-bird:4.11-SNAPSHOT)
[DEBUG]       commons-el:commons-el:jar:1.0:provided
[DEBUG]       net.java.dev.jets3t:jets3t:jar:0.7.1:provided
[DEBUG]       org.mortbay.jetty:servlet-api-2.5:jar:6.1.14:provided
[DEBUG]       net.sf.kosmosfs:kfs:jar:0.3:provided
[DEBUG]       junit:junit:jar:4.8.2:test (scope managed from compile by com.twitter.elephantbird:elephant-bird:4.11-SNAPSHOT) (version managed from 4.8.1 by com.twitter.elephantbird:elephant-bird:4.11-SNAPSHOT)
[DEBUG]       hsqldb:hsqldb:jar:1.8.0.10:provided
[DEBUG]       oro:oro:jar:2.0.8:provided
[DEBUG]       org.apache.avro:avro:jar:1.5.3:provided
[DEBUG]          com.thoughtworks.paranamer:paranamer:jar:2.3:provided
[DEBUG]          org.xerial.snappy:snappy-java:jar:1.0.3.2:provided
[DEBUG]    org.antlr:antlr:jar:3.4:provided
[DEBUG]       org.antlr:antlr-runtime:jar:3.4:provided
[DEBUG]          org.antlr:stringtemplate:jar:3.2.1:provided
[DEBUG]          antlr:antlr:jar:2.7.7:provided
[DEBUG]       org.antlr:ST4:jar:4.0.4:provided
[DEBUG]    joda-time:joda-time:jar:1.6:provided
[DEBUG]    org.codehaus.jackson:jackson-mapper-asl:jar:1.8.8:provided
[DEBUG]       org.codehaus.jackson:jackson-core-asl:jar:1.8.8:provided
[DEBUG]    log4j:log4j:jar:1.2.17:test
[DEBUG]    org.easymock:easymock:jar:3.1:test
[DEBUG]       cglib:cglib-nodep:jar:2.2.2:test
[DEBUG]       org.objenesis:objenesis:jar:1.2:test
[DEBUG] Could not find metadata com.twitter.elephantbird:elephant-bird-core:4.11-SNAPSHOT/maven-metadata.xml in local (/home/huip/.m2/repository)
[DEBUG] Failure to find com.twitter.elephantbird:elephant-bird-core:4.11-SNAPSHOT/maven-metadata.xml in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
[DEBUG] Failure to find com.twitter.elephantbird:elephant-bird-core:4.11-SNAPSHOT/maven-metadata.xml in https://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-snapshots has elapsed or updates are forced
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Elephant Bird ...................................... SUCCESS [  0.661 s]
[INFO] Elephant Bird Hadoop Compatibility ................. SUCCESS [  1.462 s]
[INFO] Elephant Bird Core ................................. SUCCESS [ 13.790 s]
[INFO] Elephant Bird Cascading2 ........................... SUCCESS [  0.397 s]
[INFO] Elephant Bird Crunch ............................... SUCCESS [  0.533 s]
[INFO] Elephant Bird Hive ................................. SUCCESS [  0.567 s]
[INFO] Elephant Bird Pig .................................. FAILURE [  0.215 s]
[INFO] Elephant Bird Mahout ............................... SKIPPED
[INFO] Elephant Bird RCFile ............................... SKIPPED
[INFO] Elephant Bird Lucene ............................... SKIPPED
[INFO] Elephant Bird Pig Lucene ........................... SKIPPED
[INFO] Elephant Bird Examples ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.260 s
[INFO] Finished at: 2015-10-10T20:17:39-04:00
[INFO] Final Memory: 23M/964M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project elephant-bird-pig: Could not resolve dependencies for project com.twitter.elephantbird:elephant-bird-pig:jar:4.11-SNAPSHOT: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project elephant-bird-pig: Could not resolve dependencies for project com.twitter.elephantbird:elephant-bird-pig:jar:4.11-SNAPSHOT: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:220)
    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
    at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project com.twitter.elephantbird:elephant-bird-pig:jar:4.11-SNAPSHOT: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
    at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:198)
    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
    ... 22 more
Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
    at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
    at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:192)
    ... 23 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
    at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
    ... 24 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
    at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:232)
    at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)
    ... 26 more
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :elephant-bird-pig

现在怎么办?

共有1个答案

董嘉祯
2023-03-14

解决这个问题的命令是:

mvn clean install -U -Dprotobuf.version=2.5.0 -DskipTests=true -Dmaven.repo.local=localrepo

参考资料如下:

Maven跳过测试

 类似资料:
  • 我已经为创建了一个堆栈扩展。 我创建了一个模板类,其代码如下: 但当我初始化它时: 它抛出以下错误: 操作员似乎有一些问题。我确实尝试创建运算符重载,但尝试失败。 错误的原因是什么?

  • 错误-大错误,所以准备车轮元数据:以状态“错误”结束错误:命令错误退出,退出状态1:命令:/app/.heroku/python/bin/python/app/.heroku/python/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel/tmp/tmpscn

  • 我无法恢复数据从我的Wordpress API与改造库。错误是:HTTP FAILED:java.net.未知主机异常:无法解决主机"app.divion.fr":没有地址与主机名关联 ApiClient: } API接口: 公共接口{ } 显示xml Thx;)

  • 我是JNI(和java)的新手,所以如果这只是一个愚蠢的错误,我提前道歉。但是,经过大量的搜索,我找不到一个解释或解决办法。 我有一个名为

  • 我正在做一个java自动售货机操作系统,我刚刚将我的原始项目导入到eclipse中,并添加了一个guy页面,从那以后,无论我做什么,它到处都是错误,我能得到一些帮助吗?现在的主要错误是“令牌的语法错误,错误的构造”,如果代码是坏的或者是低效率的,我会提前道歉。

  • 我有一个继承自父类Point的子类行,我没有在子类中使用基类的构造函数,但是我得到了这个错误: '形状。点“不包含接受0个参数的构造函数 这是我的父类: 这是我的孩子班: