JavaFXでエラーがでたのですが原因がわかりません。
情報不足でしたら言ってください。
ant -f /Users/uron/NetBeansProjects/Money jfxsa-run init: Deleting: /Users/uron/NetBeansProjects/Money/build/built-jar.properties deps-jar: Updating property file: /Users/uron/NetBeansProjects/Money/build/built-jar.properties Compiling 1 source file to /Users/uron/NetBeansProjects/Money/build/classes compile: Detected JavaFX Ant API version 1.3 Launching <fx:jar> task from /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/../lib/ant-javafx.jar Warning: From JDK7u25 the Codebase manifest attribute should be used to restrict JAR repurposing. Please set manifest.custom.codebase property to override the current default non-secure value '*'. Launching <fx:deploy> task from /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/../lib/ant-javafx.jar ベースJDKがありません。パッケージはシステムJREを使用します。 ベースJDKがありません。パッケージはシステムJREを使用します。 jfx-deployment-script: jfx-deployment: jar: Copying 12 files to /Users/uron/NetBeansProjects/Money/dist/run988702322 jfx-project-run: Executing /Users/uron/NetBeansProjects/Money/dist/run988702322/Money.jar using platform /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/bin/java Exception in Application start method java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389) at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767) Caused by: java.lang.RuntimeException: Exception in Application start method at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(LauncherImpl.java:182) at java.lang.Thread.run(Thread.java:745) Caused by: javafx.fxml.LoadException: file:/Users/uron/NetBeansProjects/Money/dist/run988702322/Money.jar!/money/FXMLDocument.fxml at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2601) at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2543) 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 money.Money.start(Money.java:22) 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) Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[10,205] Message: 要素タイプ"Pane"の後には、属性指定">"または"/>"が必要です。 at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:596) at javax.xml.stream.util.StreamReaderDelegate.next(StreamReaderDelegate.java:88) at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2513) ... 14 more Exception running application money.Money Java Result: 1 Deleting directory /Users/uron/NetBeansProjects/Money/dist/run988702322 jfxsa-run: ビルド成功(合計時間: 1秒)
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。