When should you use spring.main.lazy-initialization?

Use in test slices or large batch apps where most beans unused per run. Production APIs: fix slow @PostConstruct and DB migrations instead. Combine with...

When should you use spring.main.lazy-initialization? · Home · Support the platform