diff --git a/src/main/java/org/springframework/samples/petclinic/PetClinicApplication.java b/src/main/java/org/springframework/samples/petclinic/PetClinicApplication.java index c1639946beea9499ca45c9701101236d043c815e..934acfd524c45cec3f78e0428199b4bffcd0164a 100644 --- a/src/main/java/org/springframework/samples/petclinic/PetClinicApplication.java +++ b/src/main/java/org/springframework/samples/petclinic/PetClinicApplication.java @@ -54,4 +54,8 @@ public class PetClinicApplication extends SpringBootServletInitializer { return application.sources(PetClinicApplication.class); } + public static void main(String[] args) throws Exception { + SpringApplication.run(PetClinicApplication.class, args); + } + }