gsd 2 years ago
parent
commit
b677a53b31
  1. 4
      pom.xml
  2. 2
      src/main/java/app/MainApi.java

4
pom.xml

@ -7,6 +7,7 @@
<groupId>org.example</groupId>
<artifactId>MainApi</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
<maven.compiler.source>18</maven.compiler.source>
@ -105,6 +106,9 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>app.MainApi</mainClass>
</configuration>
</plugin>
</plugins>
</build>

2
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);
}
}

Loading…
Cancel
Save