cloudurable / kube-training

Kubernetes Training
0 stars 2 forks source link

Create basic hello world app with Spring Boot. #5

Closed RichardHightower closed 4 years ago

RichardHightower commented 4 years ago

Create basic hello world app with Spring Boot. Use Spring initializer Use gradle Produce Hello World. Should create fat jar. Fat jar should be runnable Needs to run with gradle from cmd and be curl-able.

RichardHightower commented 4 years ago

https://docs.spring.io/spring-boot/docs/current/gradle-plugin/reference/html/#getting-started Executable jars can be built using the bootJar task. The task is automatically created when the java plugin is applied and is an instance of BootJar. The assemble task is automatically configured to depend upon the bootJar task so running assemble (or build) will also run the bootJar task.

RichardHightower commented 4 years ago

git commit -m "basic hello world #5"

RichardHightower commented 4 years ago

git commit -m "run in IDE but not in gradle.. get this weird error message see #6 part of #5" git push