IntelliJ IDEA编辑器的左上角File➡️Settings...➡️Build,Execution,Deployment➡️Compiler➡️java Compiler->Per-module bytecode Version 设置Target bytecode version的级别为匹配JDK。
IDEA里面给自己的项目设置JDK的版本
最新推荐文章于 2024-06-23 13:28:19 发布
IntelliJ IDEA编辑器的左上角File➡️Settings...➡️Build,Execution,Deployment➡️Compiler➡️java Compiler->Per-module bytecode Version 设置Target bytecode version的级别为匹配JDK。