As per the documentation, I am using convention over configuration and placed the FXML I want to load underneath resources, using the correct folder structure. It does not want to load, I am getting an IO Exception. However, if I do the following, it loads correctly, which is the exact same path:
@Component
@FxmlPath("/com/myfxml/mvvmfx/view/HelloView.fxml")
public class HelloView implements FxmlView {
... (omitted for brevity)
}
As per the documentation, I am using convention over configuration and placed the FXML I want to load underneath resources, using the correct folder structure. It does not want to load, I am getting an IO Exception. However, if I do the following, it loads correctly, which is the exact same path:
@Component @FxmlPath("/com/myfxml/mvvmfx/view/HelloView.fxml") public class HelloView implements FxmlView {
... (omitted for brevity)
}
Why is that?