- Excecute the next command
git clone https://github.com/chemaar/app_skeleton.git
- Download the zip file https://github.com/chemaar/app_skeleton/archive/main.zip
- Go to the
java_spring_boot_swagger
directory - Execute the command
mvn eclipse:eclipse
it will generate the Eclipse project descriptors (downloading dependencies). - Open the Eclipse IDE and import the project into the workspace
- From Eclipse, execute the class
app.App
- From the command line, execute the command
mvn spring-boot:run
- Package and run:
- Execute the command
mvn package
- Run the application
java -jar target/java_spring_boot_swagger-0.1-SNAPSHOT.war
- Execute the command
- Go to http://localhost:9000/java_spring_boot_swagger
- Go directly to the Swagger GUI: http://localhost:9000/java_spring_boot_swagger/swagger-ui.html