Files
spring-boot-examples/spring-boot-commandLineRunner/src/main/java/com/neo/CommandLineRunnerApplication.java
2018-03-29 13:20:32 +08:00

16 lines
469 B
Java

package com.neo;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class CommandLineRunnerApplication {
public static void main(String[] args) {
System.out.println("The service to start.");
SpringApplication.run(CommandLineRunnerApplication.class, args);
System.out.println("The service has started.");
}
}