JavaWeb study notes 20/10/13 problem correction

Problem Description:

When creating a new Maven project in IDEA, the .iml file does not appear

solution:

Right-click the project, select open in terminal, enter the following command

mvn idea:module

Until BUILD SUCCESS appears

If the terminal prompts that mvn is not an internal or external command, nor is it a runnable program or batch file. First, check the cmd console to see if maven is configured successfully
1: Check the maven installation path: echo %MAVEN_HOME%
2: Check the maven version: mvn -version

Console prompt: mvn is not an internal or external command, nor an executable program or batch file

Solution: Add in Path: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
restart cmd console to print out the maven version normally

Guess you like

Origin blog.csdn.net/qq_44685947/article/details/109058616