forked from lcg0124/bootdo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request !19 from lcg0124/master
- Loading branch information
Showing
11 changed files
with
1,116 additions
and
1,090 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
bootdo/src/main/java/com/bootdo/common/config/SpringBootSampleApplication.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
//package com.bootdo.common.config; | ||
// | ||
//import com.bootdo.BootdoApplication; | ||
//import org.slf4j.Logger; | ||
//import org.slf4j.LoggerFactory; | ||
//import org.springframework.boot.builder.SpringApplicationBuilder; | ||
//import org.springframework.boot.web.support.SpringBootServletInitializer; | ||
// | ||
///** | ||
// * war包部署需要 | ||
// * 修改启动类,继承 SpringBootServletInitializer 并重写 configure 方法 | ||
// */ | ||
//public class SpringBootSampleApplication extends SpringBootServletInitializer{ | ||
// | ||
// private static final Logger logger = LoggerFactory.getLogger(SpringBootSampleApplication.class); | ||
// | ||
// @Override | ||
// protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { | ||
// return builder.sources(this.getClass()); | ||
// } | ||
// | ||
//} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.