|
|
|
@ -5,7 +5,6 @@ import org.apache.catalina.Context;
|
|
|
|
|
import org.apache.tomcat.util.scan.StandardJarScanner; |
|
|
|
|
import org.jeecg.common.util.oConvertUtils; |
|
|
|
|
import org.springframework.boot.SpringApplication; |
|
|
|
|
import org.springframework.boot.autoconfigure.EnableAutoConfiguration; |
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|
|
|
|
import org.springframework.boot.builder.SpringApplicationBuilder; |
|
|
|
|
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory; |
|
|
|
@ -17,8 +16,12 @@ import org.springframework.core.env.Environment;
|
|
|
|
|
import java.net.InetAddress; |
|
|
|
|
import java.net.UnknownHostException; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 单体启动类(采用此类启动项目为单体模式) |
|
|
|
|
*/ |
|
|
|
|
@Slf4j |
|
|
|
|
@SpringBootApplication |
|
|
|
|
//@EnableAutoConfiguration(exclude={org.activiti.spring.boot.SecurityAutoConfiguration.class})
|
|
|
|
|
public class JeecgSystemApplication extends SpringBootServletInitializer { |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|