gaolei
08/16/2025, 9:47 PMgrailsApplication['config']['my.default.property']
This code stopped working and groovy compiler throws out an error:
BUG! exception in phase 'class generation' in source unit '/Users/xxx/work/base_folder/DashboardController.groovy' At line -1 column -1
On receiver: this.getGrailsApplication() with message: getAt and arguments: config
This method should not have been called. Please try to create a simple example reproducing this error and file a bug report at <https://issues.apache.org/jira/browse/GROOVY>
This is the code annotated with @GrailsCompileStatic,
I still want to keep the @@GrailsCompileStatic, what would be an practical fix for this?
Thanks