chenhj
2026-04-25 68f0d9a4cce457e9623e55b14858f7e5ea4c4622
src/main/java/com/ruoyi/RuoYiServletInitializer.java
@@ -3,6 +3,9 @@
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import jakarta.servlet.ServletContext;
import jakarta.servlet.ServletException;
/**
 * web容器中进行部署
 * 
@@ -15,4 +18,9 @@
    {
        return application.sources(RuoYiApplication.class);
    }
    @Override
    public void onStartup(ServletContext servletContext) throws ServletException {
    }
}