1、jdk17,那么spring boot版本要选择3.0以上。选择maven仓库,才会有pom.xml
2、报了两个错误,解决如下
3、创建测试文件
文件目录如下
创建测试文件
package com.example.demo.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframewor
文件目录如下
创建测试文件
package com.example.demo.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframewor