package com.juick.components; import org.springframework.boot.SpringApplication; import org.springframework.boot.WebApplicationType; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class PushServer { public static void main(String[] args) { SpringApplication app = new SpringApplication(PushServer.class); app.setWebApplicationType(WebApplicationType.NONE); app.run(args); } }