Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-2423

Freemarker template not found due to wrong classloader

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0, 1.6.0, 2.0-M1, 1.6.1, 1.6.2, 2.0-M2, 2.0-M3, 2.0.0, 2.1.0
    • 1.6.3, 2.2.0
    • None
    • None
    • Patch Available

    Description

      Freemarker templates are loaded with org.springframework.core.io.Resource-class's classloader. This does not work when Spring is part of the classloader realm of the application's parent classloader.

      Proposed patch attached.

      Attachments

        1. freemarker.patch
          3 kB
          Frank Schwarz
        2. freemarker-2.patch
          2 kB
          Frank Schwarz

        Activity

          People

            njiang Willem Jiang
            fs5 Frank Schwarz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: