Newer
Older
CitrusServer / src / main / java / org / ntlab / citrusserver / CitrusServerApplication.java
k-sakoda on 4 Jun 703 bytes application.propertiesを変更
  1. package org.ntlab.citrusserver;
  2.  
  3. import org.springframework.boot.SpringApplication;
  4. import org.springframework.boot.autoconfigure.SpringBootApplication;
  5. import org.springframework.boot.builder.SpringApplicationBuilder;
  6. import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
  7.  
  8. @SpringBootApplication
  9. public class CitrusServerApplication extends SpringBootServletInitializer {
  10.  
  11. public static void main(String[] args) {
  12. SpringApplication.run(CitrusServerApplication.class, args);
  13. }
  14.  
  15. @Override
  16. protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
  17. return application.sources(CitrusServerApplication.class);
  18.  
  19. }
  20.  
  21. }