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