diff --git a/apps/IntelliJ IDEA/IntelliJ IDEA常用设置.md b/apps/IntelliJ IDEA/IntelliJ IDEA常用设置.md index f7882b4..c15f498 100644 --- a/apps/IntelliJ IDEA/IntelliJ IDEA常用设置.md +++ b/apps/IntelliJ IDEA/IntelliJ IDEA常用设置.md @@ -131,3 +131,31 @@ ``` ![image-20240107113638495](assets/image-20240107113638495.png) + +## 创建SpringBoot项目时只能选择jdk17和jdk21 + +创建SpringBoot项目只能选择java17和java21 + +![image-20240109213542277](assets/image-20240109213542277.png) + +**原因** + +> 默认ServerURL start.spring.io + +spring2.X版本在2023年11月24日停止维护了,因此创建spring项目时不再有2.X版本的选项,只能从3.1.X版本开始选择 + +而Spring3.X版本不支持JDK8,JDK11,最低支持JDK17,因此JDK11也无法选择了 + +当然,停止维护只代表我们无法用idea主动创建spring2.X版本的项目了,不代表我们无法使用,该使用依然能使用,丝毫不受影响 + +**解决办法** + +修改Server URL地址为 `start.aliyun.com` 目前阿里云还支持springboot2.*项目的创建 + +![image-20240109213655554](assets/image-20240109213655554.png) + + + +修改之后就可以选择了 + +![image-20240109213820497](assets/image-20240109213820497.png) diff --git a/apps/IntelliJ IDEA/assets/image-20240109213542277.png b/apps/IntelliJ IDEA/assets/image-20240109213542277.png new file mode 100644 index 0000000..1ea55f2 Binary files /dev/null and b/apps/IntelliJ IDEA/assets/image-20240109213542277.png differ diff --git a/apps/IntelliJ IDEA/assets/image-20240109213555993.png b/apps/IntelliJ IDEA/assets/image-20240109213555993.png new file mode 100644 index 0000000..1ea55f2 Binary files /dev/null and b/apps/IntelliJ IDEA/assets/image-20240109213555993.png differ diff --git a/apps/IntelliJ IDEA/assets/image-20240109213655554.png b/apps/IntelliJ IDEA/assets/image-20240109213655554.png new file mode 100644 index 0000000..39005c1 Binary files /dev/null and b/apps/IntelliJ IDEA/assets/image-20240109213655554.png differ diff --git a/apps/IntelliJ IDEA/assets/image-20240109213820497.png b/apps/IntelliJ IDEA/assets/image-20240109213820497.png new file mode 100644 index 0000000..a2c7662 Binary files /dev/null and b/apps/IntelliJ IDEA/assets/image-20240109213820497.png differ