当前位置:   article > 正文

maven install 报错 Could not find artifact 。。。_mvn install 命令报错console-common:jar:0.0.1-snapshot:

mvn install 命令报错console-common:jar:0.0.1-snapshot: could not find artifa

父工程下多个子工程之间引用,报错:

  1. [ERROR] Failed to execute goal on project xxx: Could not resolve dependencies for project com.xxx:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at com.xxx:jar:0.0.1-SNAPSHOT: Failed to read artifact descriptor for com.xxx:jar:0.0.1-SNAPSHOT: Could not find artifact com.xxx:pom:0.0.1-SNAPSHOT -> [Help 1]
  2. [ERROR]
  3. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  4. [ERROR] Re-run Maven using the -X switch to enable full debug logging.

尝试直接在父工程下clean、install解决问题

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/451355
推荐阅读
相关标签
  

闽ICP备14008679号