Cannot start compiler: the SDK is not specified for module “xxxxxx”.Specify the output path in the Project Structure dialog
http://www.bubuko.com/infodetail-2046126.html
1. Configure the jdk required for project execution
2. Configure the project compilation output directory
File -> Project Structure
java: Invalid source distribution: 1.9
If you install JDK1.8 and set the language level to 9 in file->project structure, this error message will appear: Invalid source distribution: 1.9
How IDEA runs Maven commands
Reference: http://www.cnblogs.com/winner-0715/p/6378434.html
1 Click "Edit Configurations"
2 Enter the Run/Debug Configurations window, click the "+" in the upper left corner, and select "maven" in the pop-up "Add New Configuration" list.
3. Enter the name and command to execute for the new configuration and click OK
4. After the configuration is completed, the new configuration will become the default configuration, directly click the run button - the triangle green button
5. After that, the configured maven command will be executed!
You also need to configure the default Maven here