java.io.IOException: 拒绝访问。
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:1023)
at Controller.MainController.initConfigFile(MainController.java:219)
at Controller.MainController.initialize(MainController.java:97)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2553)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2446)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3249)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3210)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3183)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3159)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3139)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:3132)
at main.start(main.java:13)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$8(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$7(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(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$4(WinApplication.java:185)
at java.lang.Thread.run(Thread.java:750)
java.io.IOException: 拒绝访问。 at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:1023) at Controller.MainController.initConfigFile(MainController.java:219) at Controller.MainController.initialize(MainController.java:97) at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2553) at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2446) at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3249) at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3210) at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3183) at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3159) at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3139) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:3132) at main.start(main.java:13) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$8(LauncherImpl.java:863) at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$7(PlatformImpl.java:326) at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(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$4(WinApplication.java:185) at java.lang.Thread.run(Thread.java:750)