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

javafxpackager creates wrong executable jar files for spring

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 9
    • 7u9, 7u10, 7u13
    • deploy
    • None

      When packaging my application with the javafxpackager my executable jar does not work properly because some resources are no longer found by my application even though they are part of the jar file. This happens for the spring libraries that are part of the executable jar. The javafxpackager somehow creates the following files in the META-INF folder:

      spring.handlers
      spring.schemas
      spring.tooling

      Inside of the files the different schemas and namespacehandlers are listed. I can't find any handler for the util namespace which is why my application crashes. When adding the util namespace manually to spring.handlers and spring.schemas it seems to work.

            dcherepanov Dmitry Cherepanov
            jroxjfx jrox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: