Maven异常:Could not find artifact

2023-05-16

Maven异常:Could not find artifact

执行maven install的时候出现了以下异常:

[INFO] Scanning for projects…
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.easybuy:easybuy-manager:0.0.1-SNAPSHOT: Could not find artifact com.easybuy:easybuy-parent:pom:0.0.1-SNAPSHOT and ‘parent.relativePath’ points at wrong local POM @ line 3, column 11
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.easybuy:easybuy-manager:0.0.1-SNAPSHOT (D:\Users\10856214\workspace-template\easybuy-manager\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.easybuy:easybuy-manager:0.0.1-SNAPSHOT: Could not find artifact com.easybuy:easybuy-parent:pom:0.0.1-SNAPSHOT and ‘parent.relativePath’ points at wrong local POM @ line 3, column 11 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

 原因是本地仓库缺少了easybuy-parent:pom:0.0.1-SNAPSHOT, 原来是忘记了将父工程打包到本地仓库 ,运行聚合工程前记得先将依赖的工程都先Maven install到本地仓库,否则也会出现以上问题

这里写图片描述

用Maven install 对父工程安装到本地仓库,即可解决该问题。 

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Maven异常:Could not find artifact 的相关文章

随机推荐

  • Android:如何使用ViewBinding(Kotlin简易版)

    Android xff1a 如何使用ViewBinding xff08 Kotlin简易版 xff09 最近这段时间在学习Kotlin xff0c 突然发现谷歌已经把kotlin android extensions插件废弃 xff0c 目
  • CentOS7 systemctl 编写自定义服务

    编辑服务文件 vi usr lib systemd system zabbix server service Unit 此部分主要用于描述 Description 61 Zabbix Server 描述服务 After 61 syslog
  • (原创)解决APP进程被杀死出现的一些坑

    这几天在开发中遇到了这样一个问题 当打开的App数量达到一定数目时 原先的App进程会被系统杀死 然后再次进入这个被杀死的App时 发现了一些异常 经过排查 xff0c 是viewpager的getitem方法没有被调用 通过网上的一些信息
  • 8位字节对齐算法

    参考文章 8bit对齐算法 void testAlign for int i 61 0 i lt 61 10 i 43 43 int align 61 align8Bit i printf 34 the align is d n 34 al
  • Ubuntu22.04安装libudev-dev时的Bug

    新安装了Ubuntu22 04 xff0c 然后安装libudev dev xff1a sudo apt install libudev dev 发现了非常奇怪的事情 xff1a 正在读取软件包列表 完成 正在分析软件包的依赖关系树 完成
  • ubuntu服务器安装python3

    输入python查看python2是否安装 输入python3查看python3是否安装 一般都会安装python2和3 xff0c 系统服务也会调用python xff0c 所以没事不要乱卸载 sudo apt autoremove py
  • 个人面试经历经验谈

    到昨天接到金蝶得Offer xff0c 我想我为期三个星期的找工作面试之旅应该是告一段落了 原以为接到Offer会有点高兴 xff0c 但是一回味这三个星期的起起落落 xff0c 便实在是高兴不起来 xff0c 虽然手上有好几个Offer可
  • mysql 运行sql报错1118 - Row size too large (> 8126). Changing some columns to TEXT or BLOB

    innodb file per table 61 1 innodb file format 61 Barracuda innodb file format check 61 ON innodb log file size 61 512M i
  • Git 操作源地址(查看 添加 修改 删除)

    查看源地址 git remote v 修改源地址 git remote set url origin git地址 添加源地址 git remote add NAME GIT URL NAME 为新的Git库源地址名 xff0c GIT UR
  • [CentOS] 四、安装 ranger

    四 安装 ranger 作者 xff1a 解琛 时间 xff1a 2020 年 9 月 15 日 ranger ranger 安装Nerd Fonts字体 span class token function git span clone h
  • java实习两个月总结

    实习两个月总结 刚开始实习的时候激情满满 慢慢的激情也退却了 在杭州月薪3000干了两个月我自己都觉得不可思议 杭州的物价大家有目共睹 先谈谈收获 认识了java8的新特性 了解了开发中常用的工具和工具包 持续集成部署的jenkins sw
  • chrome各种版本下载地址:

    Download older versions of Google Chrome for Windows Linux and Mac Download older versions of Google Chrome for Windows
  • idea 注入mapper报错报红的几种解决方案

    方法1 xff1a 为 64 Autowired 注解设置required 61 false 使用 64 Autowired 注解时 xff0c 若希望允许null值 xff0c 可设置required 61 false 像这样 xff1a
  • 当node遇上Egg遇上TypeScript

    快速入门 通过骨架快速初始化 xff1a npx egg init type 61 ts showcase cd showcase amp amp npm i npm run dev 上述骨架会生成一个极简版的示例 xff0c 更完整的示例
  • fastjson 导致 swagger 页面无法显示

    问题 xff1a 增加swagger后 xff0c 无法访问 http localhost 8080 swagger ui index html xff0c 去除fastjson配置后确可以访问 相关配置信息 xff1a lt fastjs
  • springboot发送HTTP请求

    1 添加依赖 使用RestTemplate进行发送请求 xff0c 添加相关依赖 lt 发送请求的依赖 gt lt dependency gt lt groupId gt org apache httpcomponents lt group
  • 启动docker容器一致提示端口被占用,即使是已经删除相关端口的进程

    1 重启docker服务 systemctl restart docker 2 启动对应的docker容器 docker start tomcat 3 如果提示端口已被占用 xff0c 则查看占用进程并杀死 netstat ntulp gr
  • windows上的IDEA连接Docker

    docker中勾选 查看连接
  • MySQL将字段的值进行拼接

    应用场景 xff1a 1 同张表分组时将某个字段的值进行拼接 将学生按班级分组 xff0c 对同一班级的学生姓名进行拼接 SELECT classid group concat stu name as stu names FROM stud
  • Maven异常:Could not find artifact

    Maven异常 xff1a Could not find artifact 执行maven install的时候出现了以下异常 xff1a INFO Scanning for projects ERROR ERROR Some proble