提交 | 用户 | 时间 | ||
e57a89 | 1 | package com.jcdm; |
懒 | 2 | |
3 | import org.springframework.boot.builder.SpringApplicationBuilder; | |
4 | import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; | |
5 | ||
6 | /** | |
7 | * web容器中进行部署 | |
8 | * | |
9 | * @author jc | |
10 | */ | |
11 | public class MesServletInitializer extends SpringBootServletInitializer | |
12 | { | |
13 | @Override | |
14 | protected SpringApplicationBuilder configure(SpringApplicationBuilder application) | |
15 | { | |
16 | return application.sources(MesApplication.class); | |
17 | } | |
18 | } |