Skip to content

Commit 0a048f3

Browse files
committed
Fix typo in exception message
1 parent 2edd400 commit 0a048f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/configuration/support/DefaultBatchConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ protected DataSource getDataSource() {
196196
+ " to provide the data source to use for Batch meta-data.";
197197
if (this.applicationContext.getBeansOfType(DataSource.class).isEmpty()) {
198198
throw new BatchConfigurationException(
199-
"Unable to find a DataSource bean in the applicaion context." + errorMessage);
199+
"Unable to find a DataSource bean in the application context." + errorMessage);
200200
}
201201
else {
202202
if (!this.applicationContext.containsBean("dataSource")) {
@@ -218,7 +218,7 @@ protected PlatformTransactionManager getTransactionManager() {
218218
+ " to provide the transaction manager to use for the job repository.";
219219
if (this.applicationContext.getBeansOfType(PlatformTransactionManager.class).isEmpty()) {
220220
throw new BatchConfigurationException(
221-
"Unable to find a PlatformTransactionManager bean in the applicaion context." + errorMessage);
221+
"Unable to find a PlatformTransactionManager bean in the application context." + errorMessage);
222222
}
223223
else {
224224
if (!this.applicationContext.containsBean("transactionManager")) {

0 commit comments

Comments
 (0)