I'm pretty sure I'm just missing a piece of code or something somewhere but every time I try to run the program I get this error

I copied the code from the samples. This is what I have.
The Controller File

FXML file

Main file

I feel like the issue might be with the fxml. Don't know how to fix though.