IDEA中Maven项目需要设置JDK的地方

1.settings

settings>Build,Exception,Deployment>Java Compiler>Per-modeule bytecode version

settings配置JDK

2.Project Structure

Project Structure>Project SDK
Project Structure>Project language level
Project Structure>Modules>{your project}>Sources>Language Level
Project Structure>Modules>{your project}>Sources>Dependency>Module SDK

Project Structure配置JDK

这里写图片描述

3.Run/Debug configuration

Run/Debug configuration>Maven>{your project}>Runner>JRE

Run/Debug configuration配置JDK

已标记关键词 清除标记
相关推荐
©️2020 CSDN 皮肤主题: 代码科技 设计师:Amelia_0503 返回首页