This application has no explicit mapping for /error, so you are seeing this as a fallback

来源:互联网 发布:amd自动超频软件 编辑:程序博客网 时间:2024/06/04 19:07
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

阅读全文
1 0