title: java: package org.springframework.stereotype does not exist
body: <p>I'm trying to run a project, so I opened the folder from InteliJ, but it seems that all @Annotations are not working and it gives me this error</p>
  <blockquote>
  <p>java: package org.springframework.stereotype does not exist</p>
  </blockquote>
  <p>Note:
  It's a Gradle project that doesn't have Pom.xml. Not sure if it requires a certain JDK.</p>
  <p>build.gradle:</p>
  <pre><code>plugins {
      id 'org.springframework.boot' version '2.5.1'
      id 'io.spring.dependency-management' version '1.0.11.RELEASE'
      id 'java'
      id 'war'
  }
  </code></pre>