Skip to content
Snippets Groups Projects
Commit e9f5f7b5 authored by Antoine Rey's avatar Antoine Rey
Browse files

#164 Add main class required by the spring-boot-maven-plugin

parent a6e81a51
No related branches found
No related tags found
No related merge requests found
...@@ -54,4 +54,8 @@ public class PetClinicApplication extends SpringBootServletInitializer { ...@@ -54,4 +54,8 @@ public class PetClinicApplication extends SpringBootServletInitializer {
return application.sources(PetClinicApplication.class); return application.sources(PetClinicApplication.class);
} }
public static void main(String[] args) throws Exception {
SpringApplication.run(PetClinicApplication.class, args);
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment