- 博客(3)
- 收藏
- 关注
原创 mysql存储时间差13个小时
java中的时间保存到mysql时差13个小时,判断是时区的问题。在mysql链接中加入&serverTimezone=Asia/Shanghai参数,时间就对了。
2019-10-21 10:39:29 1291
原创 spring boot 官方guides中的/actuator/shutdown
spring boot 官方guides中的There is also a /actuator/shutdown endpoint, but it’s only visible by default via JMX. To enable it as an HTTP endpoint, add management.endpoints.shutdown.enabled=true to your a...
2019-04-02 19:33:10 3695 1
原创 Path with "WEB-INF" or "META-INF": [WEB-INF/jsp/welcome.jsp]解决办法
@GetMapping("/")public String welcome(Map<String, Object> model) { model.put("time", new Date()); model.put("message", this.message); return "welcome";}application.properties 如下配置:spring...
2019-03-27 16:49:42 12745 9
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人