diff --git a/spring-test/src/main/java/org/springframework/test/context/jdbc/Sql.java b/spring-test/src/main/java/org/springframework/test/context/jdbc/Sql.java index 861bcf06f9..943b9edff8 100644 --- a/spring-test/src/main/java/org/springframework/test/context/jdbc/Sql.java +++ b/spring-test/src/main/java/org/springframework/test/context/jdbc/Sql.java @@ -57,8 +57,8 @@ import org.springframework.core.annotation.AliasFor; * {@link org.springframework.test.context.NestedTestConfiguration @NestedTestConfiguration} * for details. * - *
Use of this annotation requires that that the {@code spring-jdbc} and - * {@code spring-tx} modules be present in the classpath. + *
Use of this annotation requires the {@code spring-jdbc} and {@code spring-tx} + * modules as well as their transitive dependencies to be present on the classpath. * * @author Sam Brannen * @since 4.1 diff --git a/spring-test/src/main/java/org/springframework/test/context/jdbc/SqlScriptsTestExecutionListener.java b/spring-test/src/main/java/org/springframework/test/context/jdbc/SqlScriptsTestExecutionListener.java index 466774f64a..c7e51561f8 100644 --- a/spring-test/src/main/java/org/springframework/test/context/jdbc/SqlScriptsTestExecutionListener.java +++ b/spring-test/src/main/java/org/springframework/test/context/jdbc/SqlScriptsTestExecutionListener.java @@ -93,8 +93,8 @@ import static org.springframework.util.ResourceUtils.CLASSPATH_URL_PREFIX; * locate these beans. * *
Use of this listener requires that that the {@code spring-jdbc} and - * {@code spring-tx} modules be present in the classpath. + *
Use of this listener requires the {@code spring-jdbc} and {@code spring-tx} + * modules as well as their transitive dependencies to be present on the classpath. * * @author Sam Brannen * @author Dmitry Semukhin