Problem Description:
@ requestmapping always reports an error when returning to the view: unable to parse MVC view “index”
reason:
unable to parse because the pre suffix of splicing cannot be found, so it cannot jump. Forget to import template engine dependencies
Solution:
Add dependency in POM
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf-spring5</artifactId>
</dependency>
<dependency>
<groupId>org.thymeleaf.extras</groupId>
<artifactId>thymeleaf-extras-java8time</artifactId>
</dependency>
Read More:
- express nodejs Failed to lookup view error in views directory (How to Fix)
- Express error: Failed to lookup view “error” in views directory processing
- ERROR: Failed to parse POMs (How to Fix)
- org.springframework.core.NestedIOException: Failed to parse mapping resource: ‘file
- Error response from daemon: failed to parse mydockerfile-centos: ENV must have two arguments
- INSTALL PARSE FAILED INCONSISTENT CERTIFICATES (How to Fix)
- LNK2019 failed to parse external symbol error
- Module parse failed:Unexpectedtoken (1:0)You may need an appropriate loader to handle this file type
- Spring MVC 406 status code / could not find acceptable representation
- Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters:
- 2021-07-03module parse failed: unexpected token (763:13) you may need an appropriate loader to
- Spring MVC error HTTP status 400 – bad request
- [spring] springboot failed to install cli, unsupportclassversionerror 52.0
- Springboot startup error failed to configure a datasource
- Several ways to view spark task log
- Installation of APK: install_ PARSE_ FAILED_ INCONSISTENT_ CERTIFICATES
- springboot : Failed to decode downloaded font 和 OTS parsing error
- Module parse failed:Unexpected token (9:6)
- Spring MVC realizes page upload file
- INSTALL PARSE FAILED INCONSISTENT CERTIFICATES error solution