我的 Grails 3.1.4 拦截器出现错误
The return type of java.lang.Object getGrailsLinkGenerator() incompatible with grails.web.mapping.LinkGenerator in grails.artefact.controller.support.Response Redirect
我实现的代码如下:
response.sendRedirect("${grailsLinkGenerator.link(controller: 'trendingClaimsDemoAndGeographic', action: 'index')}")