在Myeclipse中執行maven的install命令時,報出「Failed to read artifact descriptor for xxx:jar」錯誤。這多是下載過程當中文件出現錯誤。windows
解決方法:從本地的maven庫中刪除相關的jar包,而後右鍵單擊項目,maven4myeclipse-->Update Project,在彈出的對話框中選擇「force Update of Snapshots/Releases」,而後點擊「OK」,這樣會從新下載相關jar包eclipse
:Eclipse Warning: No grammar constraints (DTD or XML schema) detected for the document,DTD驗證是xml的規範,要去除警告的話:maven
解決方法:windows-> preferences -> xml ->xml files ->validation->[validation files分組]no grammar is specified: 選擇Ignore便可。xml