From 0a048f31c38954f151d30e935b0a150296ee2adf Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Wed, 9 Nov 2022 10:18:35 +0100 Subject: [PATCH] Fix typo in exception message --- .../core/configuration/support/DefaultBatchConfiguration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/support/DefaultBatchConfiguration.java b/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/support/DefaultBatchConfiguration.java index 799e3f6bf..0d85e6efa 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/support/DefaultBatchConfiguration.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/support/DefaultBatchConfiguration.java @@ -196,7 +196,7 @@ public class DefaultBatchConfiguration implements ApplicationContextAware { + " to provide the data source to use for Batch meta-data."; if (this.applicationContext.getBeansOfType(DataSource.class).isEmpty()) { throw new BatchConfigurationException( - "Unable to find a DataSource bean in the applicaion context." + errorMessage); + "Unable to find a DataSource bean in the application context." + errorMessage); } else { if (!this.applicationContext.containsBean("dataSource")) { @@ -218,7 +218,7 @@ public class DefaultBatchConfiguration implements ApplicationContextAware { + " to provide the transaction manager to use for the job repository."; if (this.applicationContext.getBeansOfType(PlatformTransactionManager.class).isEmpty()) { throw new BatchConfigurationException( - "Unable to find a PlatformTransactionManager bean in the applicaion context." + errorMessage); + "Unable to find a PlatformTransactionManager bean in the application context." + errorMessage); } else { if (!this.applicationContext.containsBean("transactionManager")) {