问题描述:
IDEA导入maven项目时候pom文件报如下错误
'settings.xml' has syntax errors
Tag name: project Description : The <project> element is the root of the descriptor.
The following table lists all of the possible child elements. Version : 3.0.0+
原因分析:
1、可能是maven settings文件设置不正确,请检查
2、可能是Java 的JDK版本不正确
解决方案:
Maven Reimport之后无效 ,之后引入各个module 修改JDK版本为1.8(原1.5),然后再修改 Perferences -> Build -》Compiler -> Java Compiler各个版本,对各个项目改为1.8,重新import即可。