import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.transaction.annotation.EnableTransactionManagement;
/**
* Turn on the server
* EnableTransactionManagement open affairs
*
* @date :2019/1/24 10:08
*/
@EnableTransactionManagement
@SpringBootApplication
public class the Start {
public static void main (String [] args) {
// do not take port start
new new SpringApplicationBuilder (the Start. class .web (WebApplicationType.NONE) .run (args));
}
}