BATCH-2169: Added warning message for when users use java config with @StepScope