6

非常に基本的な JavaFX アプリケーションをデプロイしようとしています。新しいJavaFXプロジェクトを作成して.exeにデプロイしようとしていますが、モジュールが見つからないというエラーが発生します。

これはコンソール ログです。

Buildfile: D:\eclipseProjects\Test\build\build.xml
setup-staging-area:
   [delete] Deleting directory D:\eclipseProjects\Test\build\externalLibs
   [delete] Deleting directory D:\eclipseProjects\Test\build\project
   [delete] Deleting directory D:\eclipseProjects\Test\build\projectRefs
    [mkdir] Created dir: D:\eclipseProjects\Test\build\externalLibs
     [copy] Copying 1 file to D:\eclipseProjects\Test\build\externalLibs
     [copy] Copying 1 file to D:\eclipseProjects\Test\build\externalLibs
     [copy] Copying 1 file to D:\eclipseProjects\Test\build\externalLibs
     [copy] Copying 1 file to D:\eclipseProjects\Test\build\externalLibs
     [copy] Copying 1 file to D:\eclipseProjects\Test\build\externalLibs
     [copy] Copying 1 file to D:\eclipseProjects\Test\build\externalLibs
     [copy] Copying 1 file to D:\eclipseProjects\Test\build\externalLibs
     [copy] Copying 1 file to D:\eclipseProjects\Test\build\externalLibs
    [mkdir] Created dir: D:\eclipseProjects\Test\build\project
     [copy] Copying 5 files to D:\eclipseProjects\Test\build\project
    [mkdir] Created dir: D:\eclipseProjects\Test\build\projectRefs
do-compile:
   [delete] Deleting directory D:\eclipseProjects\Test\build\build
    [mkdir] Created dir: D:\eclipseProjects\Test\build\build\src
    [mkdir] Created dir: D:\eclipseProjects\Test\build\build\libs
    [mkdir] Created dir: D:\eclipseProjects\Test\build\build\classes
     [copy] Copying 8 files to D:\eclipseProjects\Test\build\build\libs
     [copy] Copying 5 files to D:\eclipseProjects\Test\build\build\src
    [javac] Compiling 3 source files to D:\eclipseProjects\Test\build\build\classes
    [javac] D:\eclipseProjects\Test\build\build\src\module-info.java:2: error: module not found: javafx.fxml
    [javac]     requires javafx.fxml;
    [javac]                    ^
    [javac] D:\eclipseProjects\Test\build\build\src\module-info.java:3: error: module not found: javafx.graphics
    [javac]     requires javafx.graphics;
    [javac]                    ^
    [javac] 2 errors

BUILD FAILED
D:\eclipseProjects\Test\build\build.xml:101: Compile failed; see the compiler error output for details.

Total time: 2 seconds

jdk11.0.4、JavaFX-11.0.2、e(fx)clipse 3.5でEclipse 4.12.0を使用しています

4

0 に答える 0