首页 > 其他分享 >Could not find artifact org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde ... 解决方式

Could not find artifact org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde ... 解决方式

时间:2022-09-04 12:34:14浏览次数:93  
标签:5.1 aggdesigner 仓库 maven 阿里 pentaho aliyun com

在Spark连接Hive导入相关maven依赖时

<dependency>
    <groupId>org.apache.hive</groupId>
    <artifactId>hive-exec</artifactId>
    <version>2.3.4</version>
</dependency>

出现以下错误:

Could not find artifact org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde in ...

是因为这个包不在阿里云公共maven镜像仓库上,需要添加一个新的镜像仓库,修改maven的settings.xml

<!-- 添加这个镜像仓库在阿里云公共仓库前面 -->
<mirror>
  <id>aliyunmaven</id>
  <mirrorOf>*</mirrorOf>
  <name>spring-plugin</name>
  <url>https://maven.aliyun.com/repository/spring-plugin</url>
</mirror>
<mirror>
  <id>aliyunmaven</id>
  <mirrorOf>*</mirrorOf>
  <name>阿里云公共仓库</name>
  <url>https://maven.aliyun.com/repository/public</url>
</mirror>

之后重新导入依赖即可:
mvn package
如果是idea开发,需要重启idea,刷新依赖即可。
在这个包下载完后,可以把新增的阿里云spring-plugin镜像仓库注释掉,依旧优先使用阿里云公共仓库。


备注:

阿里云公共仓库旧版地址

<mirror> 
  <id>nexus-aliyun</id> 
  <mirrorOf>*</mirrorOf> 
  <name>Nexus aliyun</name> 
  <url>http://maven.aliyun.com/nexus/content/groups/public</url> 
</mirror>

新版地址

<mirror>
  <id>aliyunmaven</id>
  <mirrorOf>*</mirrorOf>
  <name>阿里云公共仓库</name>
  <url>https://maven.aliyun.com/repository/public</url>
</mirror>

阿里云云效Maven
https://developer.aliyun.com/mvn/guide


标签:5.1,aggdesigner,仓库,maven,阿里,pentaho,aliyun,com
From: https://www.cnblogs.com/convict/p/16654841.html

相关文章

  • Zend Studio 5.5.1 注册码
    依次打开ZendStudio工具栏-帮助-注册,在弹出的对话框输入:注册名称:stvsui许可证密钥:7161bffb12182039注册名称:stven许可证密钥:401b43be12182039注册名称:studiokaihatu许......
  • git解决The authenticity of host ‘github.com (192.30.255.112)‘ can‘t be establ
    git解决Theauthenticityofhost‘github.com(192.30.255.112)‘can‘tbeestablished问题报错完整信息Theauthenticityofhost'github.com(20.205.243.166)'c......
  • 5.1 Web开发模式
    目前主流的web开发模式有两种1.服务器端渲染的web开发模式  优缺点:  2.前后端分离的web开发模式  3.如何选择呢? ......
  • Problem with input() in Spyder 5.1.5 (Anaconda)
    Problemwithinput()inSpyder5.1.5(Anaconda)错误提示Traceback(mostrecentcalllast): File"C:\Users\clu\Anaconda3\lib\site-packages\qtconsole\base_fro......
  • ENVI5.5.1新功能
    ENVI5.5SP1于2018年9月正式发布,新增和优化以下功能:传感器和数据支持图像处理和显示ENVIModeler更新二次开发与ArcGIS集成其他更新注:不需要卸载之前版本,直接安......
  • webpack4.15.1 学习笔记(九) — 最最基础的插件使用
    目录html-webpack-pluginclean-webpack-pluginwebpack-manifest-pluginHotModuleReplacementPlugin(内置)处理webpack在编译过程中的某个特定任务的功能模块,plugins选......
  • C++primer练习15.15-33
    练习15.15重新定义Bulk_quoteclassDisc_quote:publicQuote{public:Disc_quote()=default;Disc_quote(conststd::string&book,doublep......
  • OpenJudge1.5.17
    20:球弹跳高度的计算总时间限制:1000ms内存限制:65536kB描述一球从某一高度落下(整数,单位米),每次落地后反跳回原来高度的一半,再落下。编程计算气球在第10次落地时,共经......
  • OpenJudge1.5.17 菲波那契数列
    17:斐波那契数列总时间限制:1000ms内存限制:65536kB描述菲波那契数列是指这样的数列:数列的第一个和第二个数都为1,接下来每个数都等于前面2个数之和。给出一个正整......
  • C++primer练习15.1-14
    练习15.1什么是虚成员?::需要派生类自己定义的成员练习15.2protected访问说明符与private有何区别?::protected允许派生类访问,private一律不允许访问练习15.3定义你自己的......