开发者社区> 问答> 正文

Linux 系统中 Maven 构建项目报错【构建 github 上的 pinpoint】?报错

从 github 上克隆的代码,在 Linux 系统中使用 

mvn install -Dmaven.test.skip=true

构建报错(试了很多版本的 Linux,Maven 版本也试了几个,都是报同一个错)

报错信息

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:17 min
[INFO] Finished at: 2017-09-14T23:05:52-04:00
[INFO] Final Memory: 30M/92M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project pinpoint-annotations: Compilation failure -> [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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :pinpoint-annotations

 

展开
收起
爱吃鱼的程序员 2020-06-08 10:49:03 1073 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    看错误有onprojectpinpoint-annotations:Compilationfailure,应该是pinpoint-annotations这个项目代码有错误,导致编译失败。你最好把项目导到IDE中看看是不是代码有问题。

    2020-06-08 10:49:21
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Alibaba Cloud Linux 3 发布 立即下载
ECS系统指南之Linux系统诊断 立即下载
ECS运维指南 之 Linux系统诊断 立即下载