25 lines
815 B
Java
25 lines
815 B
Java
package com.cmvr;
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
/**
|
|
* 启动程序
|
|
*
|
|
* @author cmvr-iot
|
|
*/
|
|
@EnableScheduling
|
|
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
|
|
public class CmvrIotApplication
|
|
{
|
|
public static void main(String[] args)
|
|
{
|
|
// MPJ keeps its Spring context in a static holder that is not refreshed by DevTools.
|
|
System.setProperty("spring.devtools.restart.enabled", "false");
|
|
SpringApplication.run(CmvrIotApplication.class, args);
|
|
System.out.println("招商车研物联网平台启动成功");
|
|
}
|
|
}
|