对比新文件 |
| | |
| | | package com.yssh.utils; |
| | | |
| | | import org.springframework.boot.builder.SpringApplicationBuilder; |
| | | import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; |
| | | |
| | | import com.yssh.Application; |
| | | |
| | | public class ServletInitializer extends SpringBootServletInitializer { |
| | | |
| | | @Override |
| | | protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { |
| | | // 浠g爜璁剧疆鏃ュ織 |
| | | //System.setProperty("logging.config", "classpath:logback.xml"); |
| | | return application.sources(Application.class); |
| | | } |
| | | |
| | | } |
| | | |
| | | |