maven工程POM文件提示missing artifact的問(wèn)題
情境:
1固额、本地倉(cāng)庫(kù)或私服等存在相應(yīng)的jar
2眠蚂、本地倉(cāng)庫(kù)或私服中存在*.pom、*.lastUpdated斗躏、*.pom.md5逝慧、*.sha1、_remote.repositories等除應(yīng)使用的jar文件外的文件
3啄糙、工程中pom.xml提示Missing artifact XXXXXX
處理辦法:
1笛臣、清除本地倉(cāng)庫(kù)中非使用的jar文件外的文件(如:*.pom、*.lastUpdated隧饼、*.pom.md5沈堡、*.sha1、_remote.repositories等)
2燕雁、完成以上操作诞丽,回到eclipse中鲸拥,右鍵工程-->Maven-->update maven project,接下來(lái)就是等待等待率拒,這樣就處理好了崩泡,看看是不是不提示報(bào)錯(cuò)了。