title: What am I doing wrong here? I made another package in the same project called img and put a png file in there, but I get this error
body: <p>Ok, so here's the script for my Login.fxml file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;?import javafx.scene.control.Button?&gt;
  &lt;?import javafx.scene.control.Label?&gt;
  &lt;?import javafx.scene.control.PasswordField?&gt;
  &lt;?import javafx.scene.control.TextField?&gt;
  &lt;?import javafx.scene.image.ImageView?&gt;
  &lt;?import javafx.scene.layout.AnchorPane?&gt;
  &lt;?import javafx.scene.text.Font?&gt;
  
  &lt;AnchorPane prefHeight="300.0" prefWidth="620.0"     xmlns="http://javafx.com/javafx/8.0.60" xmlns:fx="http://javafx.com/fxml/1"     fx:controller="application.MainController"&gt;
     &lt;children&gt;
        &lt;Button layoutX="94.0" layoutY="230.0" mnemonicParsing="false"     onAction="#Login" text="Login"&gt;
           &lt;font&gt;
              &lt;Font size="18.0" /&gt;
           &lt;/font&gt;
        &lt;/Button&gt;
        &lt;TextField fx:id="txtUsername" layoutX="45.0" layoutY="78.0"     promptText="Username"&gt;
           &lt;font&gt;
              &lt;Font size="18.0" /&gt;
           &lt;/font&gt;
        &lt;/TextField&gt;
        &lt;PasswordField fx:id="txtPassword" layoutX="45.0" layoutY="131.0"     promptText="Password"&gt;
           &lt;font&gt;
              &lt;Font size="18.0" /&gt;
           &lt;/font&gt;
        &lt;/PasswordField&gt;
        &lt;Label fx:id="lblStatus" layoutX="21.0" layoutY="32.0" prefHeight="27.0"     prefWidth="263.0" text="Status" textFill="RED"&gt;
           &lt;font&gt;
              &lt;Font size="18.0" /&gt;
           &lt;/font&gt;
        &lt;/Label&gt;
        &lt;ImageView fitHeight="263.0" fitWidth="318.0" layoutX="284.0"     layoutY="14.0" pickOnBounds="true" preserveRatio="true" &gt;&lt;/ImageView&gt;
         &lt;image&gt;
         &lt;Image url = "img/Dantheman_outside.png"&gt;&lt;/Image&gt;
         &lt;/image&gt;
        &lt;/ImageView&gt;
     &lt;/children&gt;
  &lt;/AnchorPane&gt;
  </code></pre>
  
  <p>And here's the error message:</p>
  
  <pre><code>javafx.fxml.LoadException: 
  /C:/Users/eene1/workspace/LoginFx/bin/application/Login.fxml:34
  
  at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2601)
  at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2579)
  at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
  at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3214)
  at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3175)
  at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3148)
  at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3124)
  at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3104)
  at javafx.fxml.FXMLLoader.load(FXMLLoader.java:3097)
  at application._Main.start(_Main.java:15)
  at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)
  at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
  at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
  at java.security.AccessController.doPrivileged(Native Method)
  at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
  at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
  at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
  at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
  at java.lang.Thread.run(Unknown Source)
  Caused by: java.lang.UnsupportedOperationException: Cannot determine type for property.
  at com.sun.javafx.fxml.BeanAdapter.getSetterMethod(BeanAdapter.java:177)
  at com.sun.javafx.fxml.BeanAdapter.isReadOnly(BeanAdapter.java:305)
  at javafx.fxml.FXMLLoader$PropertyElement.&lt;init&gt;(FXMLLoader.java:1368)
  at javafx.fxml.FXMLLoader.createElement(FXMLLoader.java:2731)
  at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2704)
  at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2527)
  ... 17 more
  </code></pre>
  
  <p>How do I fix this? It's really annoying and it doesn't make any sense. Thanks in advance. I also have to type some more stuff so that it will let me post this question. Just ignore this extra sentence</p>