diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-batch/src/test/java/smoketest/batch/SampleBatchApplicationTests.java b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-batch/src/test/java/smoketest/batch/SampleBatchApplicationTests.java index ac58d70220..8ea8ee390d 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-batch/src/test/java/smoketest/batch/SampleBatchApplicationTests.java +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-batch/src/test/java/smoketest/batch/SampleBatchApplicationTests.java @@ -34,9 +34,4 @@ class SampleBatchApplicationTests { assertThat(output).contains("completed with the following parameters"); } - public static void main(String[] args) throws ClassNotFoundException { - System.getProperties().forEach((k, v) -> System.out.println(k + "=" + v)); - Class.forName("org.springframework.boot.web.servlet.context.ServletWebServerApplicationContextFactory"); - } - }