IDEA导入maven项目时候pom文件报如下错误:
Tag name: project Description : The element is the root of the descriptor.
The following table lists all of the possible child elements. Version : 3.0.0+
多种原因:
1.项目idea的JDK设置不正确
2.创建项目时默认使用idea的maven了
解决方法:
1.修改idea的JDK版本为系统安装的JDK 。 例:JDK1.8
2.修改maven为非idea自带的maven。