Hi , tried to migrate my app to grails 7 and got s...
# questions
l
Hi , tried to migrate my app to grails 7 and got something exactly like https://github.com/apache/grails-core/issues/11610
Copy code
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grails.plugin.formfields.FormFieldsTagLib': Error creating bean with name 'beanPropertyAccessorFactory': Cannot resolve reference to bean 'validateableConstraintsEvaluator' while setting bean property 'constraintsEvaluator'

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'beanPropertyAccessorFactory': Cannot resolve reference to bean 'validateableConstraintsEvaluator' while setting bean property 'constraintsEvaluator'

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'validateableConstraintsEvaluator': FactoryBean threw exception on object creation

Caused by: java.lang.NullPointerException: Cannot get property 'config' on null object
j
Can you add a simple Grails 7.0.0-M3 example with this issue to that ticket?
l
it's when I add
Copy code
implementation 'org.grails.plugins:spring-security-core:7.0.0-M3'
j
Ok, please create an issue on https://github.com/apache/grails-spring-security/issues and link to that other issue on grails-core.
l
It's not just that in fact.
./gradlew clean
removes exception. this will take some time to reproduce in a simple project
j
i think a clean may be required on any upgrade. The issuse very well may be transient
We're getting close to being able to have another milestone with all of the new apache coordinates & versions
So it may be addressed by that as well, the build updates have been significant after the merge to apache due to consolidating repos
l
No, I meant
gradlew clean
in the vanilla project where I was adding my real project dependencies. I have micronaut modules https://micronaut-projects.github.io/micronaut-spring/latest/guide/#micronautInsideSpring. Adding this blows up
Copy code
implementation("io.micronaut.spring:micronaut-spring-boot-starter")
j
while micronaut has been removed, the work to confirm Graeme’s suggestion of using the starter has not completed yet
🙏 1