在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