Could not find artifact org.vaadin.addons:dcharts-widget:pom:0.10.0 in nexus-aliyun

在启动项目的时候发现了问题:
Could not find artifact org.vaadin.addons:dcharts-widget:pom:0.10.0 in nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public)

解决方法:

在pom.xml 找到artifactId为activiti-explorer 添加排除标签 排除上面报错的依赖。

	<dependency>
			<groupId>org.activiti</groupId>
			<artifactId>activiti-explorer</artifactId>
			<version>5.22.0</version>
			<exclusions>
				<exclusion>
					<groupId>org.slf4j</groupId>
					<artifactId>slf4j-log4j12</artifactId>
				</exclusion>
				<!-- 排除dcharts-widget的包-->
				<exclusion>
					<groupId>org.vaadin.addons</groupId>
					<artifactId>dcharts-widget</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
引用:Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:2.0.1.RELEASE from http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.0.1.RELEASE from/to alimaven (http://maven.aliyun.com/nexus/content/groups/public/): maven.aliyun.com 引用:解决maven引入hive的jar包时依赖报错Could not find artifact org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde in xxx的问题,maven路径org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho... 引用:maven配置文件,setting.xml中: <mirrors> <!-- mirror | Specifies a repository mirror site to use instead of a given repository. The repository that | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used | for inheritance and direct lookup purposes, and must be unique across the set of mirrors. | <mirror> <id>mirrorId</id> <mirrorOf>repositoryId</mirrorOf> <name>Human Readable Name for this Mirror.</name> <url>http://my.repository.com/repo/path</url> </mirror> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>*</mirrorOf> </mirror> --> </mirrors> 在您的问题中,您遇到了"Could not find artifact org.springframework.boot:spring-boot-starter:pom:2.0.0.M4 in nexus-aliyun"的错误。这个错误意味着在nexus-aliyun中找不到对应的依赖包。根据引用中的信息,可能是因为该依赖包在本地仓库中被缓存了,并且在指定的更新间隔内不会重新尝试解析。另外,您的maven配置文件中的引用显示了一个镜像配置,其中指定了aliyun maven作为镜像源。所以您可能需要检查一下您的maven配置文件,确保nexus-aliyun是正确配置的镜像源。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

杨大脸I

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值