WebServerApplication.java 782 B

12345678910111213141516171819202122
  1. package thyyxxk.webserver;
  2. import com.dtflys.forest.springboot.annotation.ForestScan;
  3. import org.springframework.boot.SpringApplication;
  4. import org.springframework.boot.autoconfigure.SpringBootApplication;
  5. import org.springframework.boot.context.properties.EnableConfigurationProperties;
  6. import org.springframework.scheduling.annotation.EnableScheduling;
  7. import org.springframework.transaction.annotation.EnableTransactionManagement;
  8. /**
  9. * @author dj
  10. */
  11. @SpringBootApplication
  12. @EnableTransactionManagement
  13. @EnableScheduling
  14. @EnableConfigurationProperties
  15. @ForestScan(basePackages = "thyyxxk.webserver.service.externalhttp")
  16. public class WebServerApplication {
  17. public static void main(String[] args) {
  18. SpringApplication.run(WebServerApplication.class, args);
  19. }
  20. }