spring-statemachine icon indicating copy to clipboard operation
spring-statemachine copied to clipboard

Fix StateMachineAnnotationPostProcessor warnning log

Open ilxqx opened this issue 1 year ago • 3 comments

SpringBoot considers StateMachineAnnotationPostProcessor as a PostProcessor. The creation of this bean necessitates the prior instantiation of the StateMachineAnnotationPostProcessorConfiguration class. However, the instantiation of this class further requires all PostProcessors to process it, including StateMachineAnnotationPostProcessor. Consequently, this results in a warning log indicating that some PostProcessors cannot process it. While it's true that the StateMachineAnnotationPostProcessorConfiguration class does not actually require any PostProcessor processing, SpringBoot is not intelligent enough to discern this. Though this warning is rather harmless, it can be somewhat bothersome to individuals with OCD😄.

ilxqx avatar May 28 '24 03:05 ilxqx

@ilxqx Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

pivotal-cla avatar May 28 '24 03:05 pivotal-cla

@ilxqx Thank you for signing the Contributor License Agreement!

pivotal-cla avatar May 28 '24 03:05 pivotal-cla

Fix this issue: https://github.com/spring-projects/spring-statemachine/issues/1156

ilxqx avatar May 28 '24 03:05 ilxqx

Thank you for reporting this issue and for contributing a fix!

LGTM 👍 Rebased and merged as 2e8c667749c9b2925043ff1437494e8b7a2e267d.

fmbenhassine avatar Mar 11 '25 16:03 fmbenhassine