报错:Element ‘project’ cannot have character [children], because the type’s content type is element-only. 原因: 多半是pom.xml文件内出现非法字符,仔细检查下即可 发现我这里多了个‘>’符号 ,删掉即可解决问题