title: IntelliJ IDEA - Get Cannot resolve method 'isBlank' in 'String' but works fine in STS
body: <p>I recently moved my Java project from Spring Tools IDE to IntelliJ, but I'm getting an error that I'm not having in STS : &quot;Cannot resolve method 'isBlank' in 'String' &quot; Which is more, in Spring Tools the test is running successfully.  I tried rebuild the pom file but still having the error.</p>
  <p>The portion of code I'm using is this:</p>
  <pre><code>if (uploadedPDFName == null || uploadedPDFName.isBlank()) {
      //do something
  }
  </code></pre>
  <p>I'm capturing file name in a string variable.</p>