ant -f C:\\Users\\Lu\\Documents\\NetBeansProjects\\JavaFXApplication4 jfxsa-debug init: Deleting: C:\Users\Lu\Documents\NetBeansProjects\JavaFXApplication4\build\built-jar.properties deps-jar: Updating property file: C:\Users\Lu\Documents\NetBeansProjects\JavaFXApplication4\build\built-jar.properties compile: Detected JavaFX Ant API version 1.2 jfx-deployment: jar: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[9,255] Message: http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributeNSNotUnique?AnchorPane&controller&http://javafx.com/fxml/1 file:/C:/Users/Lu/Documents/NetBeansProjects/JavaFXApplication4/dist/JavaFXApplication4.jar!/javafxapplication4/FXMLDocument.fxml at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2180) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2061) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2778) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2757) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2743) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2730) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2719) at javafxapplication4.JavaFXApplication4.start(JavaFXApplication4.java:23) at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319) at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:216) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:17) at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:67) at java.lang.Thread.run(Thread.java:724) Exception in Application start method java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.javafx.main.Main.launchApp(Main.java:698) at com.javafx.main.Main.main(Main.java:871) Caused by: java.lang.RuntimeException: Exception in Application start method at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:403) at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:47) at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:115) at java.lang.Thread.run(Thread.java:724) Caused by: javafx.fxml.LoadException: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[9,255] Message: http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributeNSNotUnique?AnchorPane&controller&http://javafx.com/fxml/1 at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2180) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2061) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2778) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2757) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2743) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2730) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2719) at javafxapplication4.JavaFXApplication4.start(JavaFXApplication4.java:23) at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319) at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:216) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:17) at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:67) ... 1 more Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[9,255] Message: http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributeNSNotUnique?AnchorPane&controller&http://javafx.com/fxml/1 at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:598) at javax.xml.stream.util.StreamReaderDelegate.next(StreamReaderDelegate.java:88) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2150) ... 18 more Java Result: 1 debug: jfxsa-debug: BUILD SUCCESSFUL (total time: 7 seconds)