IDEA新建SpringBoot工程时java版本只有17和21

解决方法:替换源

在这里插入图片描述

参考博客:https://www.kuazhi.com/post/712799571.html