title: import org.springframework.web cannot be resolved (gradle)
body: <p>The import org.springframework.web cannot be resolved occurs on following lines:</p>
  
  <pre><code>import org.springframework.web.bind.annotation.*;
  [...]
  
  @RestController
  [...]
  @RequestMapping("/")
  [...]
  </code></pre>
  
  <p><br/>
  This Occurs in my Spring Starter Project.
  I am using Spring with Gradle 2.x</p>
  
  <p>I often read that you need to change your dependencies in the build.gradle file, but i dont know what to add in there. My dependencies looks as follows:</p>
  
  <pre><code>dependencies {
  compile('org.springframework.boot:spring-boot-starter')
  testCompile('org.springframework.boot:spring-boot-starter-test')
  }
  </code></pre>