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:


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM