PHMApplication.java 968 B

12345678910111213141516171819202122232425
  1. package com.phm;
  2. import org.springframework.boot.SpringApplication;
  3. import org.springframework.boot.autoconfigure.SpringBootApplication;
  4. import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
  5. import org.springframework.context.annotation.ComponentScan;
  6. /**
  7. * 启动程序
  8. *
  9. * @author phm
  10. */
  11. @SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}, scanBasePackages = {"com.phm"})
  12. public class PHMApplication {
  13. public static void main(String[] args) {
  14. // System.setProperty("spring.devtools.restart.enabled", "false");
  15. SpringApplication.run(PHMApplication.class, args);
  16. System.out.println(" ___ ___ _____ \n" +
  17. "______ / | \\ / \\ \n" +
  18. "\\____ \\/ ~ \\/ \\ / \\ \n" +
  19. "| |_> > Y / Y \\\n" +
  20. "| __/ \\___|_ /\\____|__ /\n" +
  21. "|__| \\/ \\/ ");
  22. }
  23. }