aijinhui
2023-11-14 92dba8e44a911c92832ecc22e4c98968409d5c68
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.ruoyi;
 
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
 
/**
 * web容器中进行部署
 * 
 * @author ruoyi
 */
public class RuoYiServletInitializer extends SpringBootServletInitializer
{
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application)
    {
        return application.sources(RuoYiApplication.class);
    }
}