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

1、添加pom依赖

<dependency>
    <groupId>org.pentaho</groupId>
    <artifactId>pentaho-aggdesigner-algorithm</artifactId>
    <version>5.1.5-jhyde</version>
    <scope>test</scope>
</dependency>
    <repositories>
        <repository>
            <id>spring-libs</id>
            <url>https://repo.spring.io/plugins-release/</url>
        </repository>
    </repositories>

2、将C:\Users\用户名\.m2\repository\org\pentaho\pentaho-aggdesigner-algorithm\5.1.5-jhyde下除pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar的文件全部删除

3、清除缓存File->Invalidate Caches->Invalidate and Restart

4、一般来说,这样就可以解决问题了。

这个坑简直太坑了,网上各种手动下载Jar包,但本地仓库中其实有。


版权声明:本文为weixin_44225848原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。