spring boot
我也有大肚子
不积硅步无以至千里,不积小流无以成江海。
展开
-
[spring boot][thymeleaf]spring boot 1.5+ 页面无法找到
当页面和程序明确无误后,还是展示出以下错误:1.[浏览器提示] Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this as a fallback.Fri Oct 20 14:11:55 CST 2017 There was an unexpected err原创 2017-10-20 14:22:58 · 1953 阅读 · 0 评论 -
[spring boot][异常处理] java.net.BindException: Address already in use: bind
java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) ~[na:1.7.0_45] at sun.nio.ch.Net.bind(Net.java:444) ~[na:1.7.0_45] at sun.nio.ch.Net.bind(Net.原创 2017-10-12 13:07:20 · 1483 阅读 · 0 评论 -
[spring boot][thymeleaf]因html中没有结束标签而经常报异常-解决方案
在spring boot中使用thymeleaf作为模板引擎时,虽然很大程度上达到了解耦的要求,但经常因为其严格的html5的格式(如:必须要有结束标签)感到头大。解决方案: 步骤1:在application.properties中增加spring.thymeleaf.mode=LEGACYHTML5 步骤2:在pom加入依赖jar net.sourceforge.nekohtml原创 2017-10-14 04:43:30 · 1188 阅读 · 0 评论