IDEA使用问题

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.配置项目执行所需要的jdk

2.配置项目编译输出目录

File -> Project Structure


 

 

 

java:无效的源发行版:1.9

如果你安装的是JDK1.8,而在file->project structure中设置的是language level是9的话,就会出现这个错误提示:无效的源发行版:1.9

 

IDEA如何运行Maven命令

参考:http://www.cnblogs.com/winner-0715/p/6378434.html

1 点击"Edit Configurations"


 

2 进入Run/Debug Configurations窗口,点击左上角的"+",在弹出的"Add New Configuration"列表中选择"maven".


 

3.为新的configuration输入名称和执行的命令,点击确认

4.配置完成后,新的configuration会成为默认的configuration,直接点击运行按钮--三角形绿色按钮

5.之后,就会执行配置的maven命令!

在这里还需要配置默认的Maven


 

 

猜你喜欢

转载自weigang-gao.iteye.com/blog/2393627
今日推荐