GassafetyProgressApplication.java 780 Bytes
Newer Older
1 2 3 4 5
package com.zehong;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
6
import org.springframework.context.annotation.ImportResource;
7 8 9 10 11 12

/**
 * 启动程序
 * 
 * @author zehong
 */
13
@ImportResource("classpath:ureport-console-context.xml")
14 15 16 17 18 19 20 21 22 23
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class GassafetyProgressApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(GassafetyProgressApplication.class, args);
        System.out.println("(♥◠‿◠)ノ゙  泽宏启动成功");
    }
}