package Ġcom . easy . spring boot . demo _ package _ and _ deploy Ċ Ċ import Ġorg . springframework . boot . autoconfigure . SpringBoot Application Ċ import Ġorg . springframework . boot . run Application Ċ import Ġorg . springframework . web . bind . annotation . GetMapping Ċ import Ġorg . springframework . web . bind . annotation . RestController Ċ import Ġjava . util .* Ċ Ċ @ SpringBoot Application Ċ open Ġclass ĠDemo Package And Deploy Application Ċ Ċ fun Ġmain ( args : ĠArray < String >) Ġ{ ĊĠĠĠ Ġrun Application < Demo Package And Deploy Application >(* args ) Ċ } ĊĊ Ċ @ RestController Ċ class ĠHello World Ġ{ ĊĠĠĠ Ġ@ GetMapping ( value Ġ= Ġ[" ", Ġ"/ "]) ĊĠĠĠ Ġfun Ġhello (): ĠMap < String , ĠAny > Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġresult Ġ= Ġmutable Map Of < String , ĠAny >() ĊĠĠĠĠĠĠĠ Ġresult [" msg "] Ġ= Ġ" Hello , World " ĊĠĠĠĠĠĠĠ Ġresult [" time "] Ġ= ĠDate () ĊĠĠĠĠĠĠĠ Ġreturn Ġresult ĊĠĠĠ Ġ} Ċ }