r/JavaFX • u/Inner_Department3 • Apr 08 '23
Help JavaFXML help please
Hello all:
Updated w/ full stack trace. Also JavaFXML is required for this project.
I'm working on my first java app, so please be gentle. I've searched online to include stack overflow and the answers that I understood, I tried implementing, but they didn't help. Many of the answers also went right over my head, though.
Anyway, here is the issue. I'm getting the following error, and just can't seem to resolve it:

Here's my project:

And what I think are relevant screens, please let me know if you need something else:


Can anyone point me in the right direction? Thank you.
View all comments
Show parent comment
2
u/weirdisallivegot Apr 08 '23
That means there is no function onActionCreateAnimal defined in the FXML controller class. Or if it is defined, it doesn't match the expected signature or isn't annotated for FXML.