PowerJobServerApplication.java 750 B

12345678910111213141516171819202122232425
  1. package com.km.powerjob;
  2. import lombok.extern.slf4j.Slf4j;
  3. import org.springframework.boot.SpringApplication;
  4. import org.springframework.boot.autoconfigure.SpringBootApplication;
  5. import org.springframework.scheduling.annotation.EnableScheduling;
  6. import tech.powerjob.server.common.utils.PropertyUtils;
  7. /**
  8. * powerjob 启动程序
  9. *
  10. * @author yhan219
  11. */
  12. @Slf4j
  13. @EnableScheduling
  14. @SpringBootApplication(scanBasePackages = "tech.powerjob.server")
  15. public class PowerJobServerApplication {
  16. public static void main(String[] args) {
  17. PropertyUtils.init();
  18. SpringApplication.run(tech.powerjob.server.PowerJobServerApplication.class, args);
  19. log.info("文档地址: https://www.yuque.com/powerjob/guidence/problem");
  20. }
  21. }