栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

使用 JeecgBoot Maven 依赖包无法下载 异常 The following artifacts could not be resolve

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

使用 JeecgBoot Maven 依赖包无法下载 异常 The following artifacts could not be resolve

最近公司接了二次外包项目,项目是使用 JeecgBoot (http://doc.jeecg.com/) 搭建的,第一次导入项目怎么都不成功,报了如下错误。

[ERROR] Failed to execute goal on project xxx-base-core: Could not resolve dependencies 
for project org.dekunframework.boot:xxxx-base-core:jar:2.4.0: The following artifacts 
could not be resolved: org.hibernate:hibernate-re:jar:2.3.07, 
org.jeecgframework.boot:codegenerate:jar:1.2.5: Cannot access nexus-aliyun 
(http://maven.aliyun.com/nexus/content/groups/public) in offline mode and the artifact 
org.hibernate:hibernate-re:jar:2.3.07 has not been downloaded from it before. -> [Help 1]

最后处理方法是我本地用的maven需要使用mirrorOf排除掉jeecg;

原配置:




	nexus-aliyun
	Nexus aliyun
	http://maven.aliyun.com/nexus/content/groups/public

需要添加配置



*,!jeecg,!jeecg-snapshots

修改后配置

能日赚30的APP试玩平台推荐,亲测有效




	nexus-aliyun
	*,!jeecg,!jeecg-snapshots
	Nexus aliyun
	http://maven.aliyun.com/nexus/content/groups/public

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/685132.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号