mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-12 21:01:12 +00:00
Make jar not war
This commit is contained in:
parent
fd524d05d5
commit
be048ae2ac
2 changed files with 2 additions and 7 deletions
|
|
@ -26,12 +26,7 @@ import org.springframework.boot.context.web.SpringBootServletInitializer;
|
|||
*
|
||||
*/
|
||||
@SpringBootApplication
|
||||
public class PetClinicApplication extends SpringBootServletInitializer {
|
||||
|
||||
@Override
|
||||
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
|
||||
return application.sources(PetClinicApplication.class);
|
||||
}
|
||||
public class PetClinicApplication {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
SpringApplication.run(PetClinicApplication.class, args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue