hello_springboot_IDEA创建
步骤
我的jdk版本是1.8
总之是因为创建第一个springboot程序报了很多次错,就比如
无效的目标发行版: 17
和
java: 无法访问org.springframework.web.bind.annotation.GetMapping 错误的类文件: /D:/Repository/org/springframework/spring-web/6.0.2/spring-web-6.0.2.jar!/org/springframework/web/bind/annotation/GetMapping.class 类文件具有错误的版本 61.0, 应为 52.0 请删除该文件或确保该文件位于正确的类路径子目录中。
我这样做已经成功创建了