This application has no explicit mapping for /error, so you are seeing this as a fallback.
来源:互联网 发布:c语言怎么四舍五入 编辑:程序博客网 时间:2024/06/04 17:48
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Fri Aug 04 17:48:02 CST 2017
There was an unexpected error (type=Not Found, status=404).
No message available
解决方法:
出现这个问题原因:
一、检查SpringbootApplication的位置是否直接在groupId的包下面
比如你的groupId是com.baidu。那么SpringbootApplication放在\src\main\java\com\baidu\目录下
二、如果第一步并且使用的是thymeleaf模板引擎,那么再检查有没有添加依赖
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId></dependency>
阅读全文
6 0
- This application has no explicit mapping for /error, so you are seeing this as a fallback.
- This application has no explicit mapping for /error, so you are seeing this as a fallback
- This application has no explicit mapping for /error, so you are seeing this as a fallback
- 异常:This application has no explicit mapping for /error, so you are seeing this as a fallback.
- Spring-boot 报错This application has no explicit mapping for /error, so you are seeing this as a fallb
- spring-boot启动报错:This application has no explicit mapping for /error, so you are seeing this as a fal
- springboot访问页面报错:This application has no explicit mapping for /error, so you are seeing this as a fa
- Spring Boot报错:This application has no explicit mapping ... a fallback
- Spring Boot报错:This application has no explicit mapping ... a fallback
- spring-boot启动报错【This application has no explicit mapping for /error.....】
- spring-boot启动报错【This application has no explicit mapping for /error.....】
- spring-boot启动报错【This application has no explicit mapping for /error.....】
- spring-boot启动报错【This application has no explicit mapping for /error.....】
- spring boot报错:this application has no explicit mapping for /error...
- spring-boot启动报错【This application has no explicit mapping for /error.....】
- spring-boot启动报错【This application has no explicit mapping for /error.....】
- SpringBoot启动报错【This application has no explicit mapping for /error.....】
- Spring Boot报错:This application has no explicit mapping for /error......
- rest hateoas spring
- Activity生命周期
- 快速幂-模板
- android动画(Animation)解析
- MySQL约束
- This application has no explicit mapping for /error, so you are seeing this as a fallback.
- c#字符串类型与其它值类型的输出分析
- ui设计学习之页面设计要点详解
- anaconda基本概念,常用命令,安装tensorflow,与eclipse集成
- 一个Spark Demo与代码详解
- Kubernetes Scheduler模块代码学习
- WebView总结
- JavaScript操作符
- 多空双方力量浮标- AD(Chaikin A/D线)策略