title: Error java.lang.ClassNotFoundException: reactor.core.scheduler.TimedScheduler
body: <p>While writing a test case for testing a Flux service, I am facing the following error:</p>
  
  <pre><code>java.lang.ClassNotFoundException: reactor.core.scheduler.TimedScheduler
  </code></pre>
  
  <p>My code is like:</p>
  
  <pre><code>FluxExchangeResult&lt;Event&gt; result = webTestClient.get()
  .uri("/events")
  .accept(MediaType.TEXT_EVENT_STREAM)
  .exchange()
  .expectStatus()
  .isOk()
  .returnResult(Event.class);
  
  Flux&lt;Event&gt; eventFlux = result.getResponseBody();
  StepVerifier.create(eventFlux)
  .expectNextCount(10)
  .expectComplete()
  .verify();
  </code></pre>
  
  <p>I have the following dependencies in the pom:</p>
  
  <pre><code>&lt;parent&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
      &lt;version&gt;2.0.0.RELEASE&lt;/version&gt;
      &lt;relativePath /&gt;
  &lt;/parent&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-webflux&lt;/artifactId&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.projectreactor&lt;/groupId&gt;
      &lt;artifactId&gt;reactor-spring&lt;/artifactId&gt;
      &lt;version&gt;1.0.1.RELEASE&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;io.projectreactor&lt;/groupId&gt;
      &lt;artifactId&gt;reactor-core&lt;/artifactId&gt;
      &lt;version&gt;3.1.6.RELEASE&lt;/version&gt;
  &lt;/dependency&gt;  
  &lt;dependency&gt;
      &lt;groupId&gt;io.projectreactor.addons&lt;/groupId&gt;
      &lt;artifactId&gt;reactor-test&lt;/artifactId&gt;
      &lt;version&gt;3.0.7.RELEASE&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Have someone faced and resolved a similar issue?
  I took a reference from the Dzone article:<a href="https://dzone.com/articles/spring-webflux-a-basic-crud-application-part-1" rel="nofollow noreferrer">https://dzone.com/articles/spring-webflux-a-basic-crud-application-part-1</a> </p>