您的位置 首页 idea

idea Java 17 is not supported by the projectSDK “1.8′ 错误解决

Selected version of Java 17 is not supported by the projectSDK "1.8' Either choose a lower version of Java or set ahigher version of the SDK.

【IDEA】报错:java 17 is not supported_selected version of java 17 is not supported by th-CSDN博客

2.问题原因

电脑本地安装的JDK版本与IDEA创建Spring工程时默认的JDK版本17不一致

3.解决方案
1).修改Server URL
替换spring boot项目初始化源地址,创建springboot项目时,点击server URL右侧的⚙,将https://start.spring.io/ 或者 http://start.springboot.io/ 替换为 https://start.aliyun.com/ 即可

https://start.aliyun.com/

欢迎来撩 : 汇总all

白眉大叔

关于白眉大叔linux云计算: 白眉大叔

热门文章