Commit 9015c920264649fec85b069f777a9deb1e991863
1 parent
7bbb2fba
修改
Showing
1 changed file
with
3 additions
and
3 deletions
src/main/java/com/cnlive/shenhe/ShenheApplication.java
| @@ -260,9 +260,9 @@ public class ShenheApplication extends SpringBootServletInitializer { | @@ -260,9 +260,9 @@ public class ShenheApplication extends SpringBootServletInitializer { | ||
| 260 | 260 | ||
| 261 | 261 | ||
| 262 | public static void main(String[] args) { | 262 | public static void main(String[] args) { |
| 263 | - SpringApplication.run(ShenheApplication.class, args); | ||
| 264 | -// SpringApplicationBuilder builder=new SpringApplicationBuilder(ShenheApplication.class); | ||
| 265 | -// builder.headless(false).run(args); | 263 | +// SpringApplication.run(ShenheApplication.class, args); |
| 264 | + SpringApplicationBuilder builder=new SpringApplicationBuilder(ShenheApplication.class); | ||
| 265 | + builder.headless(false).run(args); | ||
| 266 | } | 266 | } |
| 267 | 267 | ||
| 268 | /** | 268 | /** |