yanghb
2023-04-10 43a8c6bfda77837d6b2b90bfa847bd24c7b24f0e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.stylefeng.guns;
 
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
 
/**
 * Guns Web程序启动类
 *
 * @author fengshuonan
 * @date 2017-05-21 9:43
 */
public class DriverServletInitializer extends SpringBootServletInitializer {
 
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(DriverApplication.class);
    }
}