doc:完成idea设置文档
This commit is contained in:
parent
8ebd1cb244
commit
d75d0af1c2
@ -131,3 +131,31 @@
|
|||||||
```
|
```
|
||||||
|
|
||||||
![image-20240107113638495](assets/image-20240107113638495.png)
|
![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)
|
||||||
|
BIN
apps/IntelliJ IDEA/assets/image-20240109213542277.png
Normal file
BIN
apps/IntelliJ IDEA/assets/image-20240109213542277.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
BIN
apps/IntelliJ IDEA/assets/image-20240109213555993.png
Normal file
BIN
apps/IntelliJ IDEA/assets/image-20240109213555993.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
BIN
apps/IntelliJ IDEA/assets/image-20240109213655554.png
Normal file
BIN
apps/IntelliJ IDEA/assets/image-20240109213655554.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 79 KiB |
BIN
apps/IntelliJ IDEA/assets/image-20240109213820497.png
Normal file
BIN
apps/IntelliJ IDEA/assets/image-20240109213820497.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
Loading…
Reference in New Issue
Block a user