Open shaykeren opened 11 months ago
seeing that JAX-RS isn't working with Kotlin how to reproduce:
1) add dependency:
implementation("javax.ws.rs:jsr311-api:1.1.1")
2) create Kotlin class (which has HTTP GET /owners/find:
import javax.ws.rs.GET import javax.ws.rs.Path @Path("/owners") class AaaOwnCtrlr { @Path("/find") @GET fun doFind() { } }
3) make sure you browsed to http://localhost:9754/owners/find so you'll have some insights on /owners/find
/owners/find
4) now focus on method doFind - you should see the insights. like you're focused on:
@GetMapping("/owners/find") fun initFindForm(model: MutableMap<String, Any>): String {
under original OwnerController class
OwnerController
seeing that JAX-RS isn't working with Kotlin how to reproduce:
1) add dependency:
implementation("javax.ws.rs:jsr311-api:1.1.1")
2) create Kotlin class (which has HTTP GET /owners/find:
3) make sure you browsed to http://localhost:9754/owners/find so you'll have some insights on
/owners/find
4) now focus on method doFind - you should see the insights. like you're focused on:
under original
OwnerController
class