Open
Description
Issue description
This ticket will track issues with upgrading Grails to Groovy 5.
Compilation errors
Execution failed for task ':grails-datamapping-core:compileGroovy'.
> BUG! exception in phase 'semantic analysis' in source unit '/home/mattias/Projects/grails/grails-core/grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/GormEntity.groovy' ClassNode#getTypeClass for org.grails.datastore.gorm.GormEntityApi called before the type class is set
> Task :grails-core:compileGroovy
startup failed:
/home/mattias/Projects/grails/grails-core/grails-core/src/main/groovy/grails/boot/config/tools/ProfilingGrailsApplicationPostProcessor.groovy: 35: Can't have an abstract method in a non-abstract class. The class 'grails.boot.config.tools.ProfilingGrailsApplicationPostProcessor' must be declared abstract or the method 'void onApplicationEvent(E)' must be implemented.
@ line 35, column 1.
class ProfilingGrailsApplicationPostProcessor extends GrailsApplicationPostProcessor implements BeanPostProcessor {
^
1 error
Runtime errors
GPathResultMapSpec > Test nested elements FAILED
groovy.lang.MissingFieldException: No such field: id for class: groovy.xml.slurpersupport.NodeChild
at org.grails.databinding.xml.GPathResultMap.<init>(GPathResultMap.groovy:35)
at org.grails.databinding.xml.GPathResultMapSpec.Test nested elements(GPathResultMapSpec.groovy:44)
Discussion: https://lists.apache.org/thread/9qz4xsmw702tgt45f2y8xz5h8ftj4tyl
Spock
Spock does not currently support Groovy 5
- A discussion is started at Groovy 5 support spockframework/spock#2160
Metadata
Metadata
Assignees
Labels
No labels