maven出现:Failed to execute goal on project ...: Could not resolve dependencies for project ...

项目结构是一个父项目,多个子项目目录:

例如:

common --------------(父项目)       

fristDemo    ------------(子项目)

如果在子项目中调用了父项目,而对(子项目)打包时,就报:

Failed to execute goal on project  fristDemo     Could not resolve dependencies for projec

解决:

                     对(common )父项目clearn再install:

原文地址:https://www.cnblogs.com/leeego-123/p/10538893.html