0

In my layout.fxml file, where I specify the controller class as Controller.java (which is in the same package, 'gui') using fx:controller="gui.Controller", I get an error saying "Cannot resolve class or package 'gui'". How can it not resolve the gui package when it is inside it?

I'm using Intellij IDEA and I've tried synchronising and restarting to no effect.

Reference in fxml file

'gui' package

0 Answers0