I use Intellij Idea to compile a project that uses Maven dependencies, and Intellij keeps telling me that my project contains 50 errors because JavaFX does not exist.
Intellij does not highlight all the javafx dependencies in my code as errors, just after I click on run and compile the program, it says that everything in JavaFX does not exist.
I tried to download the latest version of the JDK (Java 9.0.1), and this did not fix it. I went into the project structure and the default project structure to make sure that it was using the correct jdk, and that didn't solve the problem. All the jdks I use seem to list the javafx packages included in the project.
This is also a problem only for the specific project I'm working on with a friend. We may need to move all of our code to a new project, but I'm not sure if this fixes something.
Any suggestions?
source share