I added this dependency and it solved my problem.
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
https://stackoverflow.com/questions/31134333/this-application-has-no-explicit-mapping-for-error/39017839 参考
以上是解决办法
有的可以通过加入
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
<scope>provided</scope>
</dependency>
- 解决
我的没有成功 这个jar 包含在
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
我已经加入 了,当时也没有解决 这个问题的路径
https://stackoverflow.com/questions/27966602/spring-boot-mvc-cant-find-jsp