title: The import javafx.scene.control.Alert cannot be resolved
body: <p>I am getting the error with following two imports in Eclipse:</p>
  
  <pre><code>import javafx.scene.control.Alert;
  import javafx.scene.control.Alert.AlertType;
  </code></pre>
  
  <p>The errors are: "<em>The import javafx.scene.control.Alert cannot be resolved</em>" and same is true for the 2nd import statement.</p>
  
  <p>I am using Eclipse Version: Luna Service Release 2 (4.4.2) and have installed e(fx)clipse with latest JDK 1.8 (1.8.0_45).</p>
  
  <p>There is no problem with other javafx related import statements, such as</p>
  
  <pre><code>import javafx.scene.control.Label;
  import javafx.scene.control.ListView;
  import javafx.scene.input.MouseEvent;
  </code></pre>