title: The import org.springframework.data cannot be resolved in gradle
body: <p>I refreshed my gradle project but it gives me error that " The import org.springframework.data cannot be resolved " </p>
  
  <p>The following are some imports which it doesn't understands </p>
  
  <pre><code>import org.springframework.data.mongodb.core.MongoTemplate;
  import org.springframework.data.mongodb.core.ScriptOperations;
  import org.springframework.data.mongodb.core.query.BasicQuery;
  import org.springframework.data.mongodb.core.script.ExecutableMongoScript;
  import static org.springframework.data.mongodb.core.query.Criteria.where;
  import static org.springframework.data.mongodb.core.query.Query.query;
  </code></pre>
  
  <p>There are more imports which it is unable to resolve.</p>
  
  <p>Please give me any suggestion to resolve this issue.</p>
  
  <p>Thanks in advance.</p>