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

版权声明:本文为博主hanchao5272原创文章,转载请注明来源,并留下原文链接地址,谢谢! https://blog.csdn.net/hanchao5272/article/details/78991644

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

展开阅读全文

没有更多推荐了,返回首页