grails / grails-core

The Grails Web Application Framework
http://grails.org
Apache License 2.0
2.79k stars 951 forks source link

Grails 7: Bean 'X' of type [Y] is not eligible for getting processed by all BeanPostProcessors #13654

Open jamesfredley opened 2 months ago

jamesfredley commented 2 months ago

Issue description

Sample App: https://github.com/jamesfredley/grails-website-test/tree/7.0.0-SNAPSHOT

Start with: ./gradlew bootRun or ./grailsw run-app

2024-09-19T08:56:45.142-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'grailsPromiseFactory' of type [org.grails.plugins.web.async.spring.PromiseFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:45.149-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'grailsPromiseFactory' of type [org.grails.async.factory.future.CachedThreadPoolPromiseFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:45.152-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'grailsEventBus' of type [org.grails.events.bus.spring.EventBusFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:45.152-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'grailsEventBus' of type [org.grails.events.bus.ExecutorEventBus] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:45.169-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'dataSourceConnectionSourceFactory' of type [org.grails.datastore.gorm.jdbc.connections.CachedDataSourceConnectionSourceFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:45.169-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'hibernateConnectionSourceFactory' of type [org.grails.orm.hibernate.connections.HibernateConnectionSourceFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:46.191-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'hibernateDatastore' of type [org.grails.orm.hibernate.HibernateDatastore] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:46.193-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'grailsDomainClassMappingContext' of type [org.grails.orm.hibernate.cfg.HibernateMappingContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:46.196-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'messageSource' of type [org.grails.spring.context.support.PluginAwareResourceBundleMessageSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:46.202-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'validateableConstraintsEvaluator' of type [org.grails.plugins.domain.support.DefaultConstraintEvaluatorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:46.205-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'validateableConstraintsEvaluator' of type [org.grails.datastore.gorm.validation.constraints.eval.DefaultConstraintEvaluator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:46.263-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'grailsUrlConverter' of type [grails.web.CamelCaseUrlConverter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:46.267-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#122774d5' of type [org.grails.web.mapping.UrlMappingsHolderFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:46.267-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#122774d5' of type [org.grails.web.mapping.mvc.GrailsControllerUrlMappings] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:46.268-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'urlMappingsTargetSource' of type [org.grails.spring.beans.factory.HotSwappableTargetSourceFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:46.268-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'urlMappingsTargetSource' of type [org.springframework.aop.target.HotSwappableTargetSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:46.270-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'grailsUrlMappingsHolder' of type [org.springframework.aop.framework.ProxyFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
jamesfredley commented 1 month ago

The first 4 are no longer occurring

2024-09-19T08:56:45.142-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'grailsPromiseFactory' of type [org.grails.plugins.web.async.spring.PromiseFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:45.149-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'grailsPromiseFactory' of type [org.grails.async.factory.future.CachedThreadPoolPromiseFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:45.152-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'grailsEventBus' of type [org.grails.events.bus.spring.EventBusFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19T08:56:45.152-04:00  WARN 13688 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'grailsEventBus' of type [org.grails.events.bus.ExecutorEventBus] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.

new list

2024-10-16T17:25:13.063-04:00  WARN 28096 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'dataSourceConnectionSourceFactory' of type [org.grails.datastore.gorm.jdbc.connections.CachedDataSourceConnectionSourceFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-10-16T17:25:13.064-04:00  WARN 28096 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'hibernateConnectionSourceFactory' of type [org.grails.orm.hibernate.connections.HibernateConnectionSourceFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-10-16T17:25:14.315-04:00  WARN 28096 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'hibernateDatastore' of type [org.grails.orm.hibernate.HibernateDatastore] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-10-16T17:25:14.316-04:00  WARN 28096 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'grailsDomainClassMappingContext' of type [org.grails.orm.hibernate.cfg.HibernateMappingContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-10-16T17:25:14.320-04:00  WARN 28096 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'messageSource' of type [org.grails.spring.context.support.PluginAwareResourceBundleMessageSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-10-16T17:25:14.322-04:00  WARN 28096 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'validateableConstraintsEvaluator' of type [org.grails.plugins.domain.support.DefaultConstraintEvaluatorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-10-16T17:25:14.325-04:00  WARN 28096 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'validateableConstraintsEvaluator' of type [org.grails.datastore.gorm.validation.constraints.eval.DefaultConstraintEvaluator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-10-16T17:25:14.362-04:00  WARN 28096 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'grailsUrlConverter' of type [grails.web.CamelCaseUrlConverter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-10-16T17:25:14.367-04:00  WARN 28096 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#32bdbb78' of type [org.grails.web.mapping.UrlMappingsHolderFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-10-16T17:25:14.367-04:00  WARN 28096 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#32bdbb78' of type [org.grails.web.mapping.mvc.GrailsControllerUrlMappings] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-10-16T17:25:14.367-04:00  WARN 28096 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'urlMappingsTargetSource' of type [org.grails.spring.beans.factory.HotSwappableTargetSourceFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-10-16T17:25:14.368-04:00  WARN 28096 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'urlMappingsTargetSource' of type [org.springframework.aop.target.HotSwappableTargetSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-10-16T17:25:14.370-04:00  WARN 28096 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'grailsUrlMappingsHolder' of type [org.springframework.aop.framework.ProxyFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
codeconsole commented 1 week ago

This is being caused by eager initialization of UrlMappings from a proxy. It does not happen in a live configuration, but should still be addressed.

The offending code is here: https://github.com/grails/grails-core/blob/b8c89b401d2e5c3869546997f61bf2b0094edffa/grails-plugin-url-mappings/src/main/groovy/org/grails/plugins/web/mapping/UrlMappingsGrailsPlugin.groovy#L89-L100

codeconsole commented 1 week ago

https://github.com/grails/grails-core/pull/13845

jamesfredley commented 1 week ago

List after https://github.com/grails/grails-core/pull/13845

2024-11-18T12:29:47.845-05:00  WARN 16796 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'dataSourceConnectionSourceFactory' of type [org.grails.datastore.gorm.jdbc.connections.CachedDataSourceConnectionSourceFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE.
2024-11-18T12:29:47.864-05:00  WARN 16796 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'hibernateConnectionSourceFactory' of type [org.grails.orm.hibernate.connections.HibernateConnectionSourceFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE.
2024-11-18T12:29:49.189-05:00  WARN 16796 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'hibernateDatastore' of type [org.grails.orm.hibernate.HibernateDatastore] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE.
2024-11-18T12:29:49.190-05:00  WARN 16796 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'grailsDomainClassMappingContext' of type [org.grails.orm.hibernate.cfg.HibernateMappingContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE.
2024-11-18T12:29:49.194-05:00  WARN 16796 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'messageSource' of type [org.grails.spring.context.support.PluginAwareResourceBundleMessageSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE.
2024-11-18T12:29:49.196-05:00  WARN 16796 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'validateableConstraintsEvaluator' of type [org.grails.plugins.domain.support.DefaultConstraintEvaluatorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE.
2024-11-18T12:29:49.199-05:00  WARN 16796 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'validateableConstraintsEvaluator' of type [org.grails.datastore.gorm.validation.constraints.eval.DefaultConstraintEvaluator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE.
2024-11-18T12:29:49.247-05:00  WARN 16796 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.grails.plugins.web.mapping.UrlMappingsAutoConfiguration' of type [org.grails.plugins.web.mapping.UrlMappingsAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE.
2024-11-18T12:29:49.248-05:00  WARN 16796 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'grailsUrlConverter' of type [grails.web.CamelCaseUrlConverter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE.
2024-11-18T12:29:49.252-05:00  WARN 16796 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#3d689af2' of type [org.grails.web.mapping.UrlMappingsHolderFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE.
2024-11-18T12:29:49.252-05:00  WARN 16796 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#3d689af2' of type [org.grails.web.mapping.mvc.GrailsControllerUrlMappings] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE.
2024-11-18T12:29:49.253-05:00  WARN 16796 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'urlMappingsTargetSource' of type [org.grails.spring.beans.factory.HotSwappableTargetSourceFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE.
2024-11-18T12:29:49.253-05:00  WARN 16796 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'urlMappingsTargetSource' of type [org.springframework.aop.target.HotSwappableTargetSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE.
2024-11-18T12:29:49.255-05:00  WARN 16796 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'grailsUrlMappingsHolder' of type [org.springframework.aop.framework.ProxyFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE.

the addition:

2024-11-18T12:29:49.247-05:00  WARN 16796 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.grails.plugins.web.mapping.UrlMappingsAutoConfiguration' of type [org.grails.plugins.web.mapping.UrlMappingsAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [methodValidationPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE.
codeconsole commented 1 week ago

@jamesfredley https://github.com/grails/grails-core/pull/13845 wasn’t supposed to fix the problem. It just identifies the cause and isolates it