You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.2 KiB
Java

package cokr.xit.fims;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import cokr.xit.base.boot.MvcConfig2;
import cokr.xit.base.boot.SecurityConfig;
import cokr.xit.base.boot.XitBaseApplication;
import cokr.xit.foundation.boot.CommonConfig;
import cokr.xit.foundation.boot.DatasourceConfig;
import cokr.xit.foundation.boot.ServletConfig;
import cokr.xit.foundation.boot.TransactionConfig;
@SpringBootApplication
@ImportAutoConfiguration({
CommonConfig.class,
ServletConfig.class,
MvcConfig2.class,
DatasourceConfig.class,
TransactionConfig.class,
SecurityConfig.class,
})
public class FimsApplication extends SpringBootServletInitializer {
public static void main(String[] args) {
SpringApplication.run(FimsApplication.class, args);
}
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(FimsApplication.class);
}
}