title: Spring boot application in netbeans
body: <p>I installed Netbeans 8.0.2, then installed gradle plugin, and created new gradle empty project. Then copied *.java and *.gradle files from <a href="https://github.com/spring-guides/gs-spring-boot.git" rel="nofollow">https://github.com/spring-guides/gs-spring-boot.git</a>. When call gradle build - all ok, jar created and works. Build from netbeans menu works fine too.</p>
  
  <p>But in java editor of Netbeans lines that contains gradle dependencies are marked as incorrect. For example imports like this</p>
  
  <pre><code>import org.springframework.boot.SpringApplication;
  </code></pre>
  
  <p>are marked that does not exists. And dependencies are empty (in projects tab). How to fix this?</p>
  
  <p><strong>Update.</strong> I don't know what was wrong that time, but now all works fine. If there is a such problem try reload netbeans, check environment variables like $GRADLE_HOME, reboot computer.</p>