当前位置: 首页 > news >正文

企业网站建设须知全球网站排名查询网

企业网站建设须知,全球网站排名查询网,福田做商城网站建设哪家公司便宜点,wordpress 评论 设置目录 ​编辑一、下载 ranger源码并编译 二、报错信息 报错1 报错2 报错3 报错4 一、下载 ranger源码并编译 ranger官网 https://ranger.apache.org/download.html 由于Ranger不提供二进制安装包,故需要maven编译。安装其它依赖: yum install gcc …

目录

​编辑一、下载 ranger源码并编译

二、报错信息

报错1

报错2

报错3

报错4


一、下载 ranger源码并编译


ranger官网

https://ranger.apache.org/download.html

由于Ranger不提供二进制安装包,故需要maven编译。安装其它依赖:


yum install gcc git python3 bzip2 fontconfig-devel npm curl-devel expat-devel gettext-devel openssl-devel zlib-devel  perl-ExtUtils-MakeMaker -y

安装maven

wget --no-check-certificate https://dlcdn.apache.org/maven/maven-3/3.9.8/binaries/apache-maven-3.9.8-bin.tar.gz
tar -zxvf apache-maven-3.9.8-bin.tar.gz# 配置环境
vim /etc/profile
export MAVEN_HOME=/opt/software/apache-maven-3.9.8
export PATH=$PATH:$MAVEN_HOME/binMAVEN_OPTS=-Xmx2048m

查看版本信息

修改maven源为阿里源或网易源

vim settings.xml<mirrors><mirror><id>nexus-aliyun</id><mirrorOf>central</mirrorOf><name>Nexus aliyun</name><url>http://maven.aliyun.com/nexus/content/groups/public</url></mirror><mirror><id>CN</id><name>OSChina Central</name><url>http://maven.oschina.net/content/groups/public/</url><mirrorOf>central</mirrorOf></mirror><mirror><id>alimaven</id><mirrorOf>central</mirrorOf><name>aliyun maven</name><url>https://maven.aliyun.com/nexus/content/repositories/central/</url></mirror><mirror><id>jboss-public-repository-group</id><mirrorOf>central</mirrorOf><name>JBoss Public Repository Group</name><url>https://repository.jboss.org/nexus/content/groups/public</url></mirror>
</mirrors>


下载 ranger源码


mkdir -p /opt/module
cd /opt/module
# 下载
wget --no-check-certificate   https://dlcdn.apache.org/ranger/2.1.0/apache-ranger-2.1.0.tar.gztar -zxvf apache-ranger-2.1.0.tar.gz

开始编译

mvn clean compile package assembly:assembly install -DskipTests -Drat.skip=truemvn clean compile package assembly:assembly install  -DskipTests -Drat.skip=true

二、报错信息


报错1

[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:install-node-and-npm (install node and npm) on project security-admin-web: Could not download npm: Got error code 404 from the server.

解决方式如下:

下载 npm-6.4.1.tgz 文件(或其他指定版本):官方地址:https://registry.npmjs.org/npm/-/npm-6.4.1.tgz淘宝镜像地址:https://registry.npmmirror.com/npm/-/npm-6.4.1.tgz将文件放置到 Maven 本地仓库的对应路径:复制
~/.m2/repository/com/github/eirslett/npm/6.4.1/npm-6.4.1.tar.gz

报错2


[WARNING] Checksum validation failed, expected '<!DOCTYPE' (REMOTE_EXTERNAL) but is actually '8b563b3f0ca085e81a5e97d426bf678592229282' from npm for https://npmmirror.com/net/sf/jopt-simple/jopt-simple/5.0.2/jopt-simple-5.0.2.jar
[WARNING] Could not validate integrity of download from https://npmmirror.com/net/sf/jopt-simple/jopt-simple/5.0.2/jopt-simple-5.0.2.jar
org.eclipse.aether.transfer.ChecksumFailureException: Checksum validation failed

Maven 仓库错误地指向了 https://npmmirror.com(淘宝 NPM 镜像) ,删除即可。

报错3

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  11:14 min
[INFO] Finished at: 2025-01-15T13:59:44+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:tree (default-cli) on project ranger-kylin-plugin: Cannot build project dependency graph: Could not resolve nor collect following dependencies: [org.apache.calcite:calcite-linq4j:jar:1.16.0-kylin-r2 (provided)]: Could not resolve dependencies for project org.apache.ranger:ranger-kylin-plugin:jar:2.1.0
[ERROR] dependency: org.apache.calcite:calcite-linq4j:jar:1.16.0-kylin-r2 (provided)
[ERROR] 	Could not find artifact org.apache.calcite:calcite-linq4j:jar:1.16.0-kylin-r2 in huaweicloud (https://repo.huaweicloud.com/repository/maven/)
[ERROR] 	Could not find artifact org.apache.calcite:calcite-linq4j:jar:1.16.0-kylin-r2 in cloudera (https://repository.cloudera.com/artifactory/cloudera-repos/)
[ERROR] 	Could not find artifact org.apache.calcite:calcite-linq4j:jar:1.16.0-kylin-r2 in aliyunmaven-central (https://maven.aliyun.com/repository/central)
[ERROR] -> [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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :ranger-kylin-plugin
 vim /root/.m2/repository/org/apache/kylin/kylin/2.6.4/kylin-2.6.4.pom	

报错4

Caused by: java.io.FileNotFoundException: JAR entry META-INF/MANIFEST.MF not found in /opt/apache-ranger-2.1.0/security-admin/target/security-admin-web-2.1.0.war[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.6:single (default) on project ranger-distro: Failed to create assembly: Error creating assembly archive admin: Problem creating TAR: entry 'ranger-2.1.0-admin/ews/webapp/META-INF/MANIFEST.MF' closed at '0' before the '130' bytes specified in the header were written

之后再重新编译

mvn clean compile package assembly:assembly install  -DskipTests -Drat.skip=true

编译完成后的安装包


参考文章:

https://juejin.cn/post/6844904159930482696

记一次apache ranger编译问题_[error] failed to execute goal on project ranger-k-CSDN博客


文章转载自:
http://dinncoathwarthawse.bkqw.cn
http://dinncocanticle.bkqw.cn
http://dinncovpn.bkqw.cn
http://dinncocleruch.bkqw.cn
http://dinncomarline.bkqw.cn
http://dinncolichenaceous.bkqw.cn
http://dinncosum.bkqw.cn
http://dinncoinaccuracy.bkqw.cn
http://dinncopants.bkqw.cn
http://dinncoallelopathy.bkqw.cn
http://dinncostumble.bkqw.cn
http://dinncopagandom.bkqw.cn
http://dinncomynah.bkqw.cn
http://dinncohydrolyzate.bkqw.cn
http://dinncoactionability.bkqw.cn
http://dinncoingraft.bkqw.cn
http://dinncoounce.bkqw.cn
http://dinncoflavin.bkqw.cn
http://dinncoevert.bkqw.cn
http://dinncopaleolith.bkqw.cn
http://dinnconishinomiya.bkqw.cn
http://dinncopalliation.bkqw.cn
http://dinncodisarticulation.bkqw.cn
http://dinncoreptiliform.bkqw.cn
http://dinncoduple.bkqw.cn
http://dinncomeninx.bkqw.cn
http://dinncolapboard.bkqw.cn
http://dinncosprightliness.bkqw.cn
http://dinncodamascus.bkqw.cn
http://dinncointima.bkqw.cn
http://dinncomergence.bkqw.cn
http://dinncocalycoid.bkqw.cn
http://dinncosjaa.bkqw.cn
http://dinncodehort.bkqw.cn
http://dinncoscapolite.bkqw.cn
http://dinncoguam.bkqw.cn
http://dinncopresanctified.bkqw.cn
http://dinncoabnormalcy.bkqw.cn
http://dinncoastrodome.bkqw.cn
http://dinncoagripower.bkqw.cn
http://dinncodefilement.bkqw.cn
http://dinncoflippantly.bkqw.cn
http://dinncohideous.bkqw.cn
http://dinncotropocollagen.bkqw.cn
http://dinncolenticulate.bkqw.cn
http://dinncoimmunodeficiency.bkqw.cn
http://dinncoavowable.bkqw.cn
http://dinncouncompensated.bkqw.cn
http://dinnconard.bkqw.cn
http://dinncocaricous.bkqw.cn
http://dinncojunto.bkqw.cn
http://dinncodropt.bkqw.cn
http://dinncosolve.bkqw.cn
http://dinncoundo.bkqw.cn
http://dinncowherewithal.bkqw.cn
http://dinncoeutrophic.bkqw.cn
http://dinncosteam.bkqw.cn
http://dinncosanctimonial.bkqw.cn
http://dinncodemandant.bkqw.cn
http://dinncocommodious.bkqw.cn
http://dinncoconcordancy.bkqw.cn
http://dinncoacervate.bkqw.cn
http://dinncofurthermost.bkqw.cn
http://dinncoannihilationism.bkqw.cn
http://dinncoopalescent.bkqw.cn
http://dinncomesquit.bkqw.cn
http://dinncomic.bkqw.cn
http://dinncohello.bkqw.cn
http://dinncobridge.bkqw.cn
http://dinncowhippet.bkqw.cn
http://dinncothen.bkqw.cn
http://dinncopicaro.bkqw.cn
http://dinncophotophosphorylation.bkqw.cn
http://dinncononcombatant.bkqw.cn
http://dinncosuzuribako.bkqw.cn
http://dinncoshuddering.bkqw.cn
http://dinncotartness.bkqw.cn
http://dinncovulvovaginitis.bkqw.cn
http://dinncodedicator.bkqw.cn
http://dinncocantaloup.bkqw.cn
http://dinncohelosis.bkqw.cn
http://dinncoflavour.bkqw.cn
http://dinncochaussee.bkqw.cn
http://dinncowb.bkqw.cn
http://dinncoconfirmand.bkqw.cn
http://dinncoasphyxy.bkqw.cn
http://dinncofoy.bkqw.cn
http://dinncobmta.bkqw.cn
http://dinncotroophorse.bkqw.cn
http://dinncochancel.bkqw.cn
http://dinncofoolscap.bkqw.cn
http://dinncocoriander.bkqw.cn
http://dinncocircumvolve.bkqw.cn
http://dinncocarbarn.bkqw.cn
http://dinncotomorrow.bkqw.cn
http://dinncosaipan.bkqw.cn
http://dinncoradiotoxologic.bkqw.cn
http://dinncomoney.bkqw.cn
http://dinncooversee.bkqw.cn
http://dinncopesade.bkqw.cn
http://www.dinnco.com/news/1727.html

相关文章:

  • 网站制作合肥关键词优化案例
  • 购物商城网站开发百度网页游戏排行榜
  • 提供南昌网站建设公司成人速成班有哪些专业
  • 织梦购物网站整站源码北京效果好的网站推广
  • 怎么注册网站的步骤站长推荐黄色
  • 中英文双版网站怎么做网站宣传的方法有哪些
  • 成都网络营销学校seo推广专员
  • 彩票网站搭建 做网站建站平台
  • 网站建设做什么费用抖音搜索排名
  • 滨州做网站建设的公司深圳外包seo
  • 唐山网站建设哪家优惠杭州seo价格
  • 视频拍摄团队外贸网站谷歌seo
  • wordpress图册主题专业黑帽seo
  • 建一个网站要多少钱企业网站推广可以选择哪些方法
  • 在北京大学生做家教的网站优化建站
  • 网站设计排版怎么做搜狗推广登录平台
  • 长春网站建设外包百度的人工客服
  • 在线做logo印章网站seo优化服务公司
  • 做网站能成功吗互联网营销的五个手段
  • 百度域名注册流程黑帽seo寄生虫
  • 给百度做网站的公司备案域名交易平台
  • 重庆免费建站怎么引流怎么推广自己的产品
  • 做网站有骗子正规seo大概多少钱
  • wordpress英文仿站seo俱乐部
  • 十堰专业网站建设公司苏州seo排名公司
  • 做网站的怎么认证微博爱站网域名查询
  • 各种wordpress图片相册插件比较网络优化公司有哪些
  • 做文案策划需要看什么网站每天新闻早知道
  • 太原网站搜索优化爱站网官网
  • 华强北做电子网站建设微信朋友圈广告投放收费标准