dimanche 12 avril 2015

Spring boot wont expose controllers written in groovy

I defined the following groovy file: app.groovy



@RestController
class app {

@RequestMapping("/aa")
String home() {
return "Hello World!"
}

}


When running the app I cant see that controller exposed


Have I missed something? Thanks, ray


Aucun commentaire:

Enregistrer un commentaire