Skip to content

Grails 3.0.1 Respond method Ambiguous method overloading #610

@jameskleeh

Description

@jameskleeh

In 2.4.4 I could call the respond method in my controller and pass into it a map (Ex: respond([name: "Joe"]). Now I get the following exception

Ambiguous method overloading for method grails.artefact.controller.RestResponder$Trait$Helper#respond. Cannot resolve which method to invoke for [class websockets.TestController, class java.util.LinkedHashMap, class java.util.LinkedHashMap] due to overlapping prototypes between: [interface grails.artefact.controller.RestResponder, class java.lang.Object, interface java.util.Map] [interface grails.artefact.controller.RestResponder, interface java.util.Map, class java.lang.Object]

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions