【BUG】Description : The element is the root of the descriptor. The following table lists all of the possible child elements.
报错内容:
Description : The <project> element is the root of the descriptor.
The following table lists all of the possible child elements.
报错原因分析:
1.项目JDK环境设置不正确
2.创建项目时默认使用idea自带的maven了
报错解决:
1.修改idea的JDK版本为系统安装的JDK。 例:JDK1.8
Settings -》Perferences -》 Build -》Compiler -》 Java Compiler各个版本,对各个项目改为1.8,重新import即可。
2.修改maven为非idea自带的maven(配置maven仓库)。
OK