Hello.groovy file: -
@RestController
class ThisWillActuallyRun {
    @RequestMapping("/")
    String home() {
        "Hello World!"
    } 
}   

Hello.groovy file: -
@RestController
class ThisWillActuallyRun {
    @RequestMapping("/")
    String home() {
        "Hello World!"
    } 
}   

 
    
    Check if you have already some server running on that port (8080).
Or configure an another port in
src/main/resources/application.properties
Add this: 
server.port=8073
