有大佬可可看看为什么报错啊,孩子不行了 (错误信息是最后一个图片)

<!DOCTYPE html>



用户登录

欢迎访问用户文件管理系统

username:
password:


![图片说明](https://img-ask.csdn.net/upload/202010/03/1601735003_665352.png)![图片说明](https://img-ask.csdn.net/upload/202010/03/1601735019_105803.png)![图片说明](https://img-ask.csdn.net/upload/202010/03/1601735215_465269.png)




import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IndexController {
    @GetMapping("index")
    public String tologin (){
        return "login";
    }
}


<dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-thymeleaf</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

模板解析错误,好好检查下,参考
https://blog.csdn.net/weixin_42870683/article/details/82724584