java.lang.IllegalArgumentException

Could not determine a repository key from /unites/search/with_params.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web18376

  • via Spring JIRA by Sylvain LB, 9 months ago
    Could not determine a repository key from /unites/search/with_params.
  • via GitHub by Omertron
    , 1 year ago
    Could not determine Year, Month, and Day from '1937'
  • via GitHub by nitinverma
    , 1 year ago
    Could not determine java version from '9-ea'.
  • Stack trace

    • java.lang.IllegalArgumentException: Could not determine a repository key from /unites/search/with_params. at org.springframework.data.rest.webmvc.support.DomainClassResolver.resolve(DomainClassResolver.java:64) at org.springframework.data.rest.webmvc.json.JacksonMappingAwareSortTranslator.translateSort(JacksonMappingAwareSortTranslator.java:66) at org.springframework.data.rest.webmvc.json.MappingAwarePageableArgumentResolver.resolveArgument(MappingAwarePageableArgumentResolver.java:72) at org.springframework.data.rest.webmvc.json.MappingAwarePageableArgumentResolver.resolveArgument(MappingAwarePageableArgumentResolver.java:43) at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:121) at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:161) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:128) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:114) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.