Skip to content
Advertisement

Module not found: javafx.web

I wanted to create a WebView with Javafx, and I added requires javafx.web; to my module-info.jar, but IntelliJ say: “Module not found: javafx.web”.

requires javafx.controls;
requires javafx.fxml;
requires javafx.base;
requires javafx.graphics;

works without any problem. What can I do?

Advertisement

Answer

Have you also added a dependency to javafx-web in Maven/Gradle or added the corresponding jar file to your build?

Advertisement