Starts the Juneau petstore sample application on Spring Boot, through the Spring Boot Maven plugin.
start-petstore-jetty.py.python3 scripts/start-petstore-springboot.py
Stop the server with Ctrl+C.
None.
scripts/ to the first directory with a pom.xml (find_project_root).juneau-petstore/juneau-petstore-springboot under it (main).target/classes, runs mvn clean compile there first.mvn spring-boot:run in the module with its output attached to your terminal. The main class is org.apache.juneau.petstore.springboot.App.Colored status lines, then the Maven and Spring Boot output. The banner shows http://localhost:5000 as the default address.
| Code | Meaning |
|---|---|
| 0 | Stopped with Ctrl+C. |
| 1 | The project root or module directory was not found, the build failed, or the launch raised an error. |
| other | The exit code of mvn spring-boot:run when it ends on its own. |
--port option and no check that the port is free. The port comes from the application's own configuration.target/classes is missing. Stale classes are not rebuilt.mvn on the PATH.start-petstore-jetty.py04.02.13.ScriptStartPetstoreSpringboot.md in juneau-docs)