-1

Hello :) i want to add a external Jar into an JavaFX Project in Intelij. I used the usual way an import it as libary but intelij is not able to find it.

You can see the error here

  • 1
    You might find [this post](https://stackoverflow.com/questions/1051640/correct-way-to-add-external-jars-lib-jar-to-an-intellij-idea-project) enlightening. Failing the normal import process it is possible to just place the .jar in your project. – Andrew Miller May 28 '22 at 13:30
  • 1
    Try adding your jar [via maven](https://stackoverflow.com/questions/4955635/how-to-add-local-jar-files-to-a-maven-project), it will be a more correct solution. – WOSAJ May 28 '22 at 13:37
  • thanks for your anwser. But sadly he still wont find the jar – Wagner Andreas May 28 '22 at 13:39
  • 2
    If you're using Maven, then all dependencies should be handled by Maven (not directly by IntelliJ), and you should have IntelliJ delegate build (and execution, at least during development) tasks to Maven. – Slaw May 28 '22 at 14:28
  • 3
    no screenshots of plain text please – kleopatra May 28 '22 at 14:52
  • Additionally to using the correct maven dependency, you may need to require a module for the jar in your module-info.java if you have one. – jewelsea May 28 '22 at 20:21

0 Answers0