The POM for com.xubo:service_base:jar:0.0.1-SNAPSHOT is missing, no dependency information available

报错信息

[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------< com.xubo:service_edu >------------------------
[INFO] Building service_edu 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.xubo:service_base:jar:0.0.1-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.609 s
[INFO] Finished at: 2023-09-16T16:48:56+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project service_edu: Could not resolve dependencies for project com.xubo:service_edu:jar:0.0.1-SNAPSHOT: Could not find artifact com.xubo:service_base:jar:0.0.1-SNAPSHOT -> [Help 1]
[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/DependencyResolutionExceptionj

  

解决方式:

 我的项目是分布式的,里面有多个模块,可能是多个模块之间相互依赖,导致的这个原因,就是在service_edujar包中找不到service_base包

Could not resolve dependencies for project com.xubo:service_edu:jar:0.0.1-SNAPSHOT: Could not find artifact com.xubo:service_base:jar:0.0.1-SNAPSHOT

但是service_base模块所依赖的项目里面是没有启动类的,就是一个公共的模块,导致还是报错,还有另外一个地方就是我勾选了下面的地方,导致不管怎么操作都不好使了.

所以这里我们要了解一下这个勾选是什么意思

 看这里 https://www.cnblogs.com/javaxubo/p/17707231.html

 

 

 

 
posted @ 2023-09-16 17:04  哩个啷个波  阅读(91)  评论(0)    收藏  举报