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

Make jar not war

parent fd524d05
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
<version>1.3.5.RELEASE</version>
</parent>
<name>petclinic</name>
<packaging>war</packaging>
<packaging>jar</packaging>
<properties>
......
......@@ -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);
......
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