springboot错误 ------Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback.
摘要:一、检查SpringbootApplication的位置是否直接在groupId的包下面 比如你的groupId是com.baidu。那么SpringbootApplication放在\src\main\java\com\baidu\目录下 二、如果第一步并且使用的是thymeleaf模板引擎,那么
阅读全文
posted @
2018-04-11 14:20
将来的你一定会感激现在拼命的自己
阅读(5080)
推荐(0)
springboot
摘要:有很多人刚接触springboot做测试时候,在访问的时候肯定加上了项目名称,结果肯定是404,今天我就给大家来解释一下,SpringMVC的运行方式是将打成的war包放到tomcat中运行,这种情况下访问需要在url中加入项目名。SpringBoot同样可以打成war包部署,但也提供了另一种方式:
阅读全文
posted @
2018-04-11 11:32
将来的你一定会感激现在拼命的自己
阅读(225)
推荐(0)