2

so I started to make a javafx project in intelliJ, but it prompted me with this error :

Error occurred during initialization of boot layer java.lang.module.FindException: Module javafx.base not found

here's screenshot of it

any solution?

  • Please, edit your answer - add code and stacktrace instead of screenshot – Andronicus Feb 13 '19 at 05:42
  • If you haven't already read the _JavaFX and IntelliJ_ section of [Getting Started with JavaFX 11](https://openjfx.io/openjfx-docs). – Slaw Feb 13 '19 at 05:51
  • Duplicated of [Using JavaFX with Intellij IDEA](https://stackoverflow.com/questions/53435349/using-javafx-with-intellij-idea/53436569#53436569) – José Pereda Feb 13 '19 at 09:21

1 Answers1

-1

You should add javafx dependency with maven or you can use javax.swing library.

Bhargav Rao
  • 50,140
  • 28
  • 121
  • 140
DnzDmr
  • 83
  • 2
  • 8