LoginSignup
0
0

More than 5 years have passed since last update.


$ mkdir sample && cd sample && curl https://start.spring.io/starter.zip -d dependencies=web,actuator -o sample.zip && unzip sample.zip && mvn package && java -jar target/demo-0.0.1-SNAPSHOT.jar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 51130  100 51105  100    25  42718     20  0:00:01  0:00:01 --:--:-- 42729
Archive:  sample.zip
~~(省略)~~
2018-12-17 00:11:53.897  INFO 55673 --- [           main] com.example.demo.DemoApplication         : Started DemoApplication in 5.692 seconds (JVM running for 6.474)
  • 動作確認
$ curl localhost:8080/actuator/health
{"status":"UP"}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0