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?

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement