在pom中添加如下依赖:

<dependency>
        <groupId>com.oracle</groupId>
        <artifactId>javaFX</artifactId>
        <version>2.2</version>
        <scope>system</scope>
        <systemPath>C:\Program Files\Java\jre7\lib\jfxrt.jar</systemPath>
    </dependency>



http://stackoverflow.com/questions/19015731/javafx-project-doesnt-compile-with-maven

相关文章:

  • 2022-12-23
  • 2021-04-25
  • 2021-12-20
  • 2021-10-30
  • 2021-09-18
  • 2021-09-17
  • 2021-09-10
  • 2022-12-23
猜你喜欢
  • 2021-11-25
  • 2021-09-26
  • 2021-08-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案