Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8116815

FXML LoadException when running via JNLP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • fx2.0
    • fx2.0
    • deploy
    • Windows 7, JDK 7, JavaFX 2.0 b42

      The attached example, which uses FXML and CSS, works perfectly when launched directly from Eclipse and it also runs perfectly when launched via double-click on the jar file created by the packager (via Tom Schindls Efxclipse plugin) but it fails with a ClassNotFoundException if it is lauched via the generated HTML or JNLP file. Somehow the loader seems to have a problem finding the provided controller class then.

        1. deploy.zip
          53 kB
        2. EfxclipseTest.zip
          3 kB
        3. errorlog.txt
          13 kB

            igor Igor Nekrestyanov (Inactive)
            dpausjfx Dr. Michael Paus (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: