]
Edson Tirelli reassigned DROOLS-2081:
-------------------------------------
Assignee: Toni Rikkola (was: Edson Tirelli)
Drools Decision Table Templates doesn't work on Spring Boot
-----------------------------------------------------------
Key: DROOLS-2081
URL:
https://issues.jboss.org/browse/DROOLS-2081
Project: Drools
Issue Type: Bug
Environment: Spring Boot
Reporter: Sebastian Simrodt
Assignee: Toni Rikkola
Priority: Minor
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