黑马程序员SpringBoot2全套视频教程,springboot零基础到项目实

P1
启动报错的,看一下pom里boot的版本。3以上需要jdk17,使用8的话改到一下。
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.7.8</version> <relativePath/> <!-- lookup parent from repository --> </parent>