user无法被解析 是不是thymeleaf的使用方法不对还是什么!
返回值改为modelandview user存到map干啥 ?
引入了thymeleaf的jar包了吗?
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>