[1] IDEA Cannot resolve MVC view 'userInfo' error solution
In the springboot project, an error was reported when returning to the HTML interface under the templates directory, which has been resolved.
Solution: add thymeleaf dependency in pom.xml file.
The following is 代码
, the version can be adjusted by yourself.
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
<version>2.5.0</version>
</dependency>