Refine "checkpoint on refresh" error handling #31096
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Using
-Dspring.context.checkpoint=onRefresh
without the CRaC dependency on the classpath results in aNoClassDefFoundError
thrown atDefaultLifecycleProcessor.onRefresh
level.We should refine
DefaultLifecycleProcessor
to log a more approachable message earlier in the lifecycle.The text was updated successfully, but these errors were encountered: