idea2019 import certain issues maven project
idea2019导入maven项目,会出现很多莫名其妙的问题,如果出现问题,从以下几点查看
-
View maven configuration
select File -> Settings -> Build, Execution, Deployment -> Build Tools -> whether the directory Maven, see box is the installation directory maven
whether jre to see whether the import of selected local jdk and jre Runner of the same改好之后点击Apply,然后ok,等待进度运行结束
-
Check the configuration jdk
jdk select a local path, then Apply, ok
-
If you can not wait to solve the problem, pom.xml file is still displayed in red, an error Unable to import maven project: See logs for details, click Maven can try one of the following two icons, or select the project, right, find Maven options click Reimport
-
If that does not work, still red, try the Maven clean, wait for the download to complete, then click install, wait for the download to complete.
- If that does not solve the problem, but part of the report pom.xml red, some do not report, try to click m, then in Part 2 of the box, enter
mvn -v idea: idea, to complement maven plugin download.
Then wait.
If you still can not join dependence, say what words the lack of a similar package. I would like him to perform several clean, validate, comlile, test, package, verify and install, not in accordance with the implementation of information along the line, the most important is clean and install, try more than once until after the install is successful, import-dependent explanation, I did not completely understand why, perhaps because the lack of parent-dependent according to which part of the above-mentioned error as to say, but do not know what module missing
However, this method I was one hundred test Braun