IntelliJ IDEA创建Spring工程报错IntelliJ IDEA创建Spring工程报错:Selected version of Java 17 is not supported by the project SDK '1.8'. Either choose a lower version of Java, or set a higher version of the SDK.

IntelliJ IDEA创建Spring工程报错:

Selected version of Java 17 is not supported by the project SDK '1.8'. Either choose a lower version of Java, or set a higher version of the SDK.  
To download additional SDKs, click the Project SDK drop-down.

 

 

问题原因:

电脑本地安装的JDK版本与IDEA创建Spring工程时默认的JDK版本17不一致,调整为本地版本8即可。

 

 

解决方法:

 

 再次点击创建工程就不会再报错啦!

 

 

 

posted @   远近啊  阅读(9385)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 【杭电多校比赛记录】2025“钉耙编程”中国大学生算法设计春季联赛(1)
点击右上角即可分享
微信分享提示