diff --git a/spring-cloud-contract-stub-runner/src/main/java/org/springframework/cloud/contract/stubrunner/StubRunnerExecutor.java b/spring-cloud-contract-stub-runner/src/main/java/org/springframework/cloud/contract/stubrunner/StubRunnerExecutor.java index 444e5c9253..6c58621e11 100644 --- a/spring-cloud-contract-stub-runner/src/main/java/org/springframework/cloud/contract/stubrunner/StubRunnerExecutor.java +++ b/spring-cloud-contract-stub-runner/src/main/java/org/springframework/cloud/contract/stubrunner/StubRunnerExecutor.java @@ -234,10 +234,6 @@ class StubRunnerExecutor implements StubFinder { this.stubServer = new StubServer(stubConfiguration, mappings, contracts, new NoOpHttpServerStub()); return; } - if (contracts.isEmpty()) { - log.warn("There are no contracts in the published JAR. This is an unusual situation " - + "that's why will start the server - maybe you know what you're doing..."); - } if (port != null && port >= 0) { this.stubServer = new StubServer(stubConfiguration, mappings, contracts, new WireMockHttpServerStub(port)); }