Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2081

Drools Decision Table Templates doesn't work on Spring Boot

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Minor
    • None
    • None
    • None
    • None
    • Hide

      Templates with SpringBoots

      Show
      Templates with SpringBoots
    • NEW
    • NEW

    Description

      Spring Boot changes the classpath of files from
      "com/example/spreadsheet.xls"
      to
      "BOOT-INF/classes/com/example/spreadsheet.xls"

      Hence you do a string compare of the classpath, templates won't work on a Spring Boot Environment.

      I guess the easiest way to fix it, would be to change equals to endsWith in
      AbstractKieModule:addResourceToCompiler

      Attachments

        Activity

          People

            trikkola Toni Rikkola
            roddyz_jira Sebastian Simrodt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: