- Run DemoApplication.java
- Go to http://localhost:8080/
Or:
mvn clean package
java -jar target/demo-1.0.0.jar
mvn jpackage:jpackage@mac
# or
jpackage \
--name HelloSpringBoot \
--dest ./dist \
--verbose \
--type dmg \
--app-version 1.0.0 \
--description "Hello Spring Boot" \
--input ./target \
--install-dir /Applications \
--vendor "Testing" \
--main-jar demo-1.0.0.jar \
--java-options -Dfile.encoding=UTF-8
This project may include third-party open-source code, subject to its original licenses.
If there is a licensing concern, please open an issue.