Normal
[code]Caused by: javafx.fxml.LoadException: Error resolving onAction='#handleKeyUserAction', either the event handler is not in the Namespace or there is an error in the script.[/code]Wenn ich mir https://docs.oracle.com/javase/8/javafx/api/javafx/event/EventHandler.html ansehe, dann wirft die handle-Methode keine Exceptions. Ändere mal[code=Java]public void handleKeyUserAction(KeyEvent event) throws ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException {[/code]zu[code=Java]public void handleKeyUserAction(KeyEvent event) {[/code]Nachtrag: und statt KeyEvent verwende mal ActionEvent.
[code]
Caused by: javafx.fxml.LoadException: Error resolving onAction='#handleKeyUserAction', either the event handler is not in the Namespace or there is an error in the script.
[/code]
Wenn ich mir https://docs.oracle.com/javase/8/javafx/api/javafx/event/EventHandler.html ansehe, dann wirft die handle-Methode keine Exceptions. Ändere mal
[code=Java]
public void handleKeyUserAction(KeyEvent event) throws ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException {
zu
public void handleKeyUserAction(KeyEvent event) {
Nachtrag: und statt KeyEvent verwende mal ActionEvent.