yhornisse authored on 3 Apr 2021
gradle/ wrapper add new project 3 years ago
src/ main add new project 3 years ago
README.md add new project 3 years ago
build.gradle add new project 3 years ago
gradlew add new project 3 years ago
gradlew.bat add new project 3 years ago
settings.gradle add new project 3 years ago
README.md

ビルド

$ ./gradlew bootJar

起動

  • 起動
    $ ./gradlew bootRun
  • jar起動
    $ java -jar build/libs/SampleSpring-0.0.1-SNAPSHOT.jar

サンプルアクセス

$ curl http://localhost:8080/sample/hello
{"msg":"hello"}%
$