I\'m trying to include controller(SelectedIssueController) in my main layout (main.fxml). But I get the following error:
Can not set lt
The FXMLLoader appends Controller to the fx:id specified in the fx:include element to get the name of the field to inject the controller to. Therefore it should be either:
@FXML
private SelectedIssueController selectedIssueControllerController;
or
<fx:include fx:id="selectedIssue" source="controllers/selectedissue.fxml" />
The value injected to the field without the Controller suffix is the value created for the fx:include, i.e. the Object created for the root of the included fxml.