You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Throws exception java.lang.IllegalArgumentException: No mapping found for public com.liksi.questionr.server.survey.dto.SurveyDto com.liksi.questionr.server.survey.handler.SurveyHandler.getSurvey(java.lang.String)!
You don't. There's currently no support for that, as we rely on being able to find the mapping information by inspecting the methods of the class pointed to by the method used in linkTo. I'll have to take this back to the core Spring team for options how to fix that.
Trying to add spring-hateoas in a Spring-Mvc / Kotlin / router functions DSL context.
Constructing link with :
With SurveryService
And Routing
Throws exception
java.lang.IllegalArgumentException: No mapping found for public com.liksi.questionr.server.survey.dto.SurveyDto com.liksi.questionr.server.survey.handler.SurveyHandler.getSurvey(java.lang.String)!
As seen here it seems to only handle @RequestMapping annotated method :
https://github.com/spring-projects/spring-hateoas/blob/main/src/main/java/org/springframework/hateoas/server/core/SpringAffordanceBuilder.java
Am i missing something ?
The text was updated successfully, but these errors were encountered: