
package com.trs.project;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

public class CoreStartApplication extends SpringBootServletInitializer {

    /**
     * 默认返回return super.configure(builder);
     * 现指向ZxblogApplication.main()启动方法
     * @param builder
     * @return
     */

    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(CoreApplication.class);
    }
}
