You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
518 B
14 lines
518 B
package net.mingsoft; |
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|
import org.springframework.boot.builder.SpringApplicationBuilder; |
|
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; |
|
|
|
@SpringBootApplication(scanBasePackages={"net.mingsoft"}) |
|
public class MSServletInitializer extends SpringBootServletInitializer { |
|
|
|
@Override |
|
protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { |
|
return builder.sources(MSApplication.class); |
|
} |
|
}
|
|
|