diff --git a/pom.xml b/pom.xml
index 101cf12..068e60c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,6 +7,7 @@
org.example
MainApi
1.0-SNAPSHOT
+ jar
18
@@ -105,6 +106,9 @@
org.springframework.boot
spring-boot-maven-plugin
+
+ app.MainApi
+
diff --git a/src/main/java/app/MainApi.java b/src/main/java/app/MainApi.java
index 4945267..17e26e0 100644
--- a/src/main/java/app/MainApi.java
+++ b/src/main/java/app/MainApi.java
@@ -6,6 +6,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class MainApi {
public static void main(String[] args) {
- SpringApplication.run(MainApi.class);
+ SpringApplication.run(MainApi.class, args);
}
}