前言

最近在编译 apache altas 1.1版本。在编译过程中遇到很多报错,这里整理并记录一下。

问题一:

org.restlet.jee 包找不到

问题原因

Maven主仓库中找不到包的解决办法(如org.restlet.jee not found)

解决方案:

进入报错的工程 vim test-tools/pom.xml

在pom文件最后添加如下内容

<repositories><repository><id>maven-restlet</id><name>Restlet repository</name><url>https://maven.restlet.talend.com</url></repository>
</repositories>

xml 内容来源: https://restlet.talend.com/downloads/current/

问题二:

cant download je-7.4.5.jar with maven [ com.sleepycat:je:jar:7.4.5 ]

解决方案:

对以下几个pom 文件添加如下内容:

  • webapp/pom.xml
  • graphdb/graphdb-impls/pom.xml
  • graphdb/janus/pom.xml
<repositories><repository><id>oracleReleases</id><name>Oracle Released Java Packages</name><url>https://download.oracle.com/maven</url><layout>default</layout></repository>
</repositories>

问题三:

报错内容

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default) on project storm-bridge-shim: Error resolving project artifact: Could not transfer artifact ring-cors:ring-cors:pom:0.1.5 from/to typesafe (http://repo.typesafe.com/typesafe/releases/): transfer failed for http://repo.typesafe.com/typesafe/releases/ring-cors/ring-cors/0.1.5/ring-cors-0.1.5.pom for project ring-cors:ring-cors:jar:0.1.5: Connect to repo.typesafe.com:80 [repo.typesafe.com/34.231.6.143, repo.typesafe.com/54.81.173.17, repo.typesafe.com/34.199.146.42] failed: Connection refused (Connection refused) -> [Help 1]

解决方案

对以下几个pom 文件添加如下内容:

  • addons/storm-bridge/pom.xml
  • addons/storm-bridge-shim/pom.xml
<repositories><repository><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled></snapshots><id>clojars</id><url>https://clojars.org/repo/</url></repository>
</repositories>

问题四

报错信息

[INFO] ------------------< org.apache.atlas:atlas-testtools >------------------
[INFO] Building Apache Atlas Test Utility Tools 1.1.0                    [3/37]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [  0.431 s]
[INFO] apache-atlas 1.1.0 ................................. SUCCESS [  1.152 s]
[INFO] Apache Atlas Test Utility Tools 1.1.0 .............. FAILURE [  0.117 s]
[INFO] Apache Atlas Integration 1.1.0 ..................... SKIPPED
[INFO] Apache Atlas Common 1.1.0 .......................... SKIPPED
[INFO] Apache Atlas Client 1.1.0 .......................... SKIPPED
[INFO] atlas-client-common 1.1.0 .......................... SKIPPED
[INFO] atlas-client-v1 1.1.0 .............................. SKIPPED
[INFO] Apache Atlas Server API 1.1.0 ...................... SKIPPED
[INFO] Apache Atlas Notification 1.1.0 .................... SKIPPED
[INFO] atlas-client-v2 1.1.0 .............................. SKIPPED
[INFO] Apache Atlas Graph Database Projects 1.1.0 ......... SKIPPED
[INFO] Apache Atlas Graph Database API 1.1.0 .............. SKIPPED
[INFO] Graph Database Common Code 1.1.0 ................... SKIPPED
[INFO] Apache Atlas JanusGraph DB Impl 1.1.0 .............. SKIPPED
[INFO] Apache Atlas Graph Database Implementation Dependencies 1.1.0 SKIPPED
[INFO] Shaded version of Apache hbase client 1.1.0 ........ SKIPPED
[INFO] Shaded version of Apache hbase server 1.1.0 ........ SKIPPED
[INFO] Apache Atlas Authorization 1.1.0 ................... SKIPPED
[INFO] Apache Atlas Repository 1.1.0 ...................... SKIPPED
[INFO] Apache Atlas UI 1.1.0 .............................. SKIPPED
[INFO] Apache Atlas Web Application 1.1.0 ................. SKIPPED
[INFO] Apache Atlas Documentation 1.1.0 ................... SKIPPED
[INFO] Apache Atlas FileSystem Model 1.1.0 ................ SKIPPED
[INFO] Apache Atlas Plugin Classloader 1.1.0 .............. SKIPPED
[INFO] Apache Atlas Hive Bridge Shim 1.1.0 ................ SKIPPED
[INFO] Apache Atlas Hive Bridge 1.1.0 ..................... SKIPPED
[INFO] Apache Atlas Falcon Bridge Shim 1.1.0 .............. SKIPPED
[INFO] Apache Atlas Falcon Bridge 1.1.0 ................... SKIPPED
[INFO] Apache Atlas Sqoop Bridge Shim 1.1.0 ............... SKIPPED
[INFO] Apache Atlas Sqoop Bridge 1.1.0 .................... SKIPPED
[INFO] Apache Atlas Storm Bridge Shim 1.1.0 ............... SKIPPED
[INFO] Apache Atlas Storm Bridge 1.1.0 .................... SKIPPED
[INFO] Apache Atlas Hbase Bridge Shim 1.1.0 ............... SKIPPED
[INFO] Apache Atlas Hbase Bridge 1.1.0 .................... SKIPPED
[INFO] Apache Atlas Kafka Bridge 1.1.0 .................... SKIPPED
[INFO] Apache Atlas Distribution 1.1.0 .................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.323 s
[INFO] Finished at: 2022-02-17T15:24:45+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project atlas-testtools: Could not resolve dependencies for project org.apache.atlas:atlas-testtools:jar:1.1.0: Failed to collect dependencies at org.apache.solr:solr-test-framework:jar:7.0.0 -> org.restlet.jee:org.restlet:jar:2.3.0: Failed to read artifact descriptor for org.restlet.jee:org.restlet:jar:2.3.0: Could not transfer artifact org.restlet.jee:org.restlet:pom:2.3.0 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [maven-restlet (http://maven.restlet.org, default, releases+snapshots), central (http://repo1.maven.org/maven2, default, releases), hortonworks.repo (http://repo.hortonworks.com/content/repositories/releases, default, releases), typesafe (http://repo.typesafe.com/typesafe/releases/, default, releases+snapshots), apache.snapshots (http://repository.apache.org/snapshots, default, snapshots)] -> [Help 1]

【atlas】atlas 编译报错整理(全)相关推荐

  1. Android Studio 的一些 常用操作和 编译报错 整理(持续更新中...)

    Android Studio 的一些 常用操作和 编译报错 整理(持续更新中...) 目录 Android Studio 的一些 常用操作和 编译报错 整理(持续更新中...) 一.Android s ...

  2. 【presto】presto编译报错整理(大全)

    问题一: 报错信息: 1) Explicit bindings are required and com.facebook.presto.execution.TaskManager is not ex ...

  3. Apache Atlas安装部署报错之解决方案

    说明:在按照官网文档安装Atlas的过程中,遇到了各种各样的问题,现将本人在实践中,成功安装部署的过程分享给大家. 一.下载安装包 下载安装JDK.(不要用Linux自带的jdk,且atlas2.0要 ...

  4. Qt编译报错:未找到文件main.obj

    Qt编译报错:未找到文件main.obj main.obj文件 未找到.obj文件的可能原因 对应的解决办法 1是自己写代码练习中遇到此问题并解决的办法,编译出错原因.其他.obj文件找不到可能原因与 ...

  5. linux jsp 编译报错,JSP简要介绍

    JSP全称为Java Server Pages,其根本是一个简化的Servlet设计,实现了在Java中使用html标签.JSP是一种动态网页技术标准,也是JavaEE的标准.JSP同Servlet一 ...

  6. 【致敬嵌入式攻城狮第2期活动预热征文】解决瑞萨RA2E1开发板在RT-Thread的版本中编译报错 error: ‘board_cfg.h‘ file not found

    解决瑞萨RA2E1开发板在RT-Thread的版本中编译报错 error: 'board_cfg.h' file not found 继上上周在RA2E1开发板上跑通了RT-Thread最新版本的代码 ...

  7. ubuntu 找不到mysql.h_ubuntu安装了mysql 但是编译报错 mysql.h: No such file or directory

    在Ubuntu体系中,已经安装了mysql,即应用sudo apt-get install mysql-server mysql-client 但是用C编译mysql数据库时,报错 fatal err ...

  8. go build 编译报错 missing go.sum entry for module providing package

    go build 编译报错 missing go.sum entry for module providing package 解决方法 // 移除未使用的依赖 go mod tidy 再次编译,就可 ...

  9. 编译报错field has incomplete type

    linux下编译C++代码报错,报错信息"field has incomplete type".这种问题一般都是在头文件对类或者结构体进行了前向声明,后面使用了该类定义了对象,导致 ...

最新文章

  1. BERT, ELMo, GPT-2: 这些上下文相关的表示到底有多上下文化?
  2. iOS之深入解析AFNetworking的底层原理
  3. Java Annotation详解
  4. 推荐几本对创业者很有用的书籍
  5. 大数据平台助力核与辐射安全监管
  6. python生成二维坐标点_Python numpy:根据坐标创建二维数组
  7. 手把手一起 图形化安装 k8s 集群
  8. Python学习笔记之列表(三)
  9. 阿根廷科尔多瓦省通过加密资产交易征税新法案
  10. Day19:继承实现的原理、子类中调用父类的方法、封装
  11. 优化理论08-----约束优化的最优性条件、拉格朗日条件、凸性、约束规范、二阶最优性条件(下)
  12. 7.软件架构设计:大型网站技术架构与业务架构融合之道 --- 框架、软件与中间件
  13. 桥接模式---汽车导航
  14. 计算机主板 华硕 游戏用,华硕Z390-A大师主板,带你畅享极致游戏体验-华硕主板bios设置...
  15. css border实现渐变
  16. c语言常量要const,C语言常量-C语言const-嗨客网
  17. 网页换肤--setAttribute - css
  18. 笔试题————一套实用的渗透测试岗位面试题
  19. IDA Pro基本简介
  20. 卡在linuxctrld进系统_centos7系统停在Ctrl+d界面的解决方法

热门文章

  1. 研发团队数字化转型实践
  2. PPT 要你好看(全彩)
  3. Any和AnyObject的区别
  4. cocos2d-x 模拟钢琴
  5. 将图片进行黑白灰处理
  6. oracle netca注册,oracle 使用netca报错
  7. Crash Dump Analysis 崩溃转储分析-摘抄翻译自深入解析windows操作系统
  8. 5M1E分析法-产品质量特性波动
  9. swagger2 介绍+注解说明
  10. ProcessDB实时/时序数据库——C/C++操作数据表对象