错误页面优化、兼容war和jar方式、升级beetl2.7.26

This commit is contained in:
thinkgem
2018-02-16 21:50:38 +08:00
parent d6f963b3be
commit 3e78c3c3ee
8 changed files with 40 additions and 24 deletions

View File

@@ -26,6 +26,7 @@ public class Application extends SpringBootServletInitializer {
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
this.setRegisterErrorPageFilter(false); // 错误页面有容器来处理而不是SpringBoot
builder.properties(PropertiesUtils.getInstance().getProperties());
return builder.sources(Application.class);
}