idea多module,module在install时候提示Could not resolve dependencies for project

product项目下有三个module,分别是server,client和common,server和client都依赖common, common install正常,client在install的时候,提示

Could not resolve dependencies for project com.fanxl:product-client:jar:0.0.1-SNAPSHOT: Failed to c
ollect dependencies at com.fanxl:product-common:jar:0.0.1-SNAPSHOT

但是common是正常install的,解决办法,在root也就是parent上先install一下,client再install就ok了

你可能感兴趣的:(打包和部署)