tylervz
05/30/2024, 3:25 PMList<Long> longIds = ((String) params.ids)?.split(',')?.collect { String id -> id.toLong() }
List<SessionItemGroup> sessionItemGroups = SessionItemGroup.getAll(longIds)
SessionItemGroup is a domain class. The error is
399: [Static type checking] - Cannot call com.example.sessionitem.SessionItemGroup#getAll(java.lang.Iterable <java.io.Serializable>) with arguments [java.util.List <java.lang.Long>]
@ line 399, column 56.
temGroup> sessionItemGroups = SessionIte
Does anyone know how to fix this error?James Fredley
05/30/2024, 4:48 PMtylervz
05/30/2024, 4:53 PMJames Fredley
05/30/2024, 5:22 PMJames Fredley
05/30/2024, 5:31 PMGroovySystem.getVersion()tylervz
05/30/2024, 5:47 PM@CompileDynamic annotation to the controller method so I could start the application and check the output of GroovySystem.getVersion(), which is returning "3.0.21"James Fredley
05/30/2024, 10:20 PM