title: How to configure MongoDB in Spring 2.5.0?
body: <p>I used to have this <code>@Configuration</code> class that extends <code>AbstractMongoConfiguration</code>.</p>
  <p>I want to upgrade to</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.5.0&lt;/version&gt;
      &lt;relativePath/&gt;
  &lt;/parent&gt;
  </code></pre>
  <p>Once I'm doing that I see that this class cannot be resolved.</p>
  <p>What's the alternative?</p>
  <p>Note: I'd like to have multiple configurations for different profiles</p>