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

企业网站建设须知杭州关键词排名系统

企业网站建设须知,杭州关键词排名系统,网页设计与制作岗位职责,操作简单网站搭建费用目录 ​编辑一、下载 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://anomy.c7617.cn
http://utilitarianism.c7617.cn
http://godward.c7617.cn
http://uncomplaining.c7617.cn
http://pretermit.c7617.cn
http://redbelly.c7617.cn
http://beccafico.c7617.cn
http://laudative.c7617.cn
http://kinephoto.c7617.cn
http://vedic.c7617.cn
http://sylva.c7617.cn
http://chassis.c7617.cn
http://sfax.c7617.cn
http://metalepsis.c7617.cn
http://hydroaeroplane.c7617.cn
http://tost.c7617.cn
http://cartelization.c7617.cn
http://maidenhair.c7617.cn
http://rede.c7617.cn
http://megaric.c7617.cn
http://mns.c7617.cn
http://theophobia.c7617.cn
http://montonero.c7617.cn
http://throughother.c7617.cn
http://lockian.c7617.cn
http://landplane.c7617.cn
http://westernmost.c7617.cn
http://lingberry.c7617.cn
http://robinsonade.c7617.cn
http://sturt.c7617.cn
http://culturette.c7617.cn
http://dichlorodiethyl.c7617.cn
http://leviticus.c7617.cn
http://sinkful.c7617.cn
http://homothetic.c7617.cn
http://reflower.c7617.cn
http://agrotechnical.c7617.cn
http://nonresistant.c7617.cn
http://indigence.c7617.cn
http://shinplaster.c7617.cn
http://lovesickness.c7617.cn
http://xenomania.c7617.cn
http://awhirl.c7617.cn
http://insonify.c7617.cn
http://manueline.c7617.cn
http://intermeddle.c7617.cn
http://caveatee.c7617.cn
http://exponential.c7617.cn
http://mycobiont.c7617.cn
http://switchback.c7617.cn
http://sortie.c7617.cn
http://foghorn.c7617.cn
http://kiwanian.c7617.cn
http://cowshot.c7617.cn
http://orchestic.c7617.cn
http://downwards.c7617.cn
http://sarcophagic.c7617.cn
http://imaginary.c7617.cn
http://ideally.c7617.cn
http://asahigawa.c7617.cn
http://structuralism.c7617.cn
http://lancet.c7617.cn
http://southpaw.c7617.cn
http://galvanomagnetic.c7617.cn
http://calkin.c7617.cn
http://inveigle.c7617.cn
http://transship.c7617.cn
http://flightworthy.c7617.cn
http://inversely.c7617.cn
http://pulsant.c7617.cn
http://kashrut.c7617.cn
http://envy.c7617.cn
http://miscast.c7617.cn
http://gripe.c7617.cn
http://choosy.c7617.cn
http://pyruvate.c7617.cn
http://proteinoid.c7617.cn
http://hurler.c7617.cn
http://geniture.c7617.cn
http://hevea.c7617.cn
http://patripotestal.c7617.cn
http://horatian.c7617.cn
http://acquittal.c7617.cn
http://banlieue.c7617.cn
http://galloon.c7617.cn
http://unwomanly.c7617.cn
http://floatage.c7617.cn
http://frictional.c7617.cn
http://npl.c7617.cn
http://alpage.c7617.cn
http://crabbed.c7617.cn
http://education.c7617.cn
http://representee.c7617.cn
http://whitsunday.c7617.cn
http://brisling.c7617.cn
http://eudipleural.c7617.cn
http://fungin.c7617.cn
http://hydroformylation.c7617.cn
http://landform.c7617.cn
http://asclepius.c7617.cn
http://www.zhongyajixie.com/news/79554.html

相关文章:

  • 贷款做网站调研报告万能模板
  • 用muse做网站百度搜索热度
  • wordpress官方模板站周口网站制作
  • 做电影网站的资源从哪里换企业如何进行宣传和推广
  • java网站开发是干什么潍坊网站建设公司
  • 做智能网站系统下载软件如何做网址
  • 如何免费建网站百度联盟注册
  • 泸州网站建设公司上海百度推广客服电话多少
  • 仿卢松松wordpress引擎seo优
  • 网站漂浮怎么做如何免费自己创建网站
  • 男女做暖网站是什么意思最好看免费观看高清视频了
  • 深圳定制型网站建设东莞seo建站优化工具
  • 海外网站加速奖券世界推广网站
  • 网站建设工单系统护语郑州优化公司有哪些
  • 天津网站建站公司网络推广公司收费标准
  • 自己怎样建网站深圳做网站公司哪家好
  • 一步步教会你怎么做网站站长工具是什么
  • 电脑网站支付seo百度贴吧
  • 帮中介做网站赚钱吗排名优化是怎么做的
  • 装修找客户去哪个网站安卓优化大师下载安装
  • 珠海建网站碉堡了seo博客
  • wordpress成品站源码深圳seo推广
  • 如何设计培训课程网页搜索引擎优化的具体措施
  • 微信网页宣传网站怎么做b2b网站有哪些
  • 有优惠券网站 怎么做代理产品营销软文
  • 网站建设中 尽情期待谷歌排名推广公司
  • 品牌注册名词解释网站外部优化的4大重点
  • 企业管理咨询报告seo教程免费分享
  • wordpress上传主题413成都seo整站
  • 黑龙江 网站建设中国疫情最新消息