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

Fails to find RuleUnit drl in spring boot executable jar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.37.0.Final
    • 8.36.0.Final
    • core engine
    • None

      Issue Description:

      Cannot find RuleUnit drl in spring boot executable jar.

      Spring Boot classloader adds "!" after "BOOT-INF/classes" when resource url is acquired by getResources().

      BOOT-INF/classes!/com/some/corp/rules
      

      Need to remove "!" to be consistent with actual path inside Jar file.

      Acceptance Criteria:

      Able to find RuleUnit drl under "BOOT-INF/classes/" in a spring boot executable jar "BOOT-INF/classes".

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: