Good day,
I'm trying to compile a jar archive, but when I launch it, an exception is thrown when accessing the file.
FXMLLoader loader = new FXMLLoader(Main.class.getResource("/view/mainView.fxml")); Obviously, when building an artifact, you need to specify this file, tell me how.
Project structure:
