無(wú)法繼承父類中的依賴配置
同樣的操作方法,刪除junit的version標(biāo)簽,配置parent從父類繼承,但pom.xml中不識(shí)別,認(rèn)為沒(méi)有進(jìn)行junit的jar配置
[ERROR] ? The project com.imooc.hongxingA:hongxingA:0.0.1-SNAPSHOT (D:\ss6\hongxingA\pom.xml) has 1 error
[ERROR] ? ? 'dependencies.dependency.version' for junit:junit:jar is missing. @ line 23, column 17
期待回復(fù),謝謝!
2015-07-17
把你的父pom.xml里的dependcies元素改成dependcyManagement元素