You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But this has one Spring Boot-related problem. For example, if business-rule dependent code + rulesets are in a different maven artifact, for example in maven submodule that the application module depends on, it doesn't work. It will find the kmodule.xml from META-INF of the jar, but Drools doesn't find any resources from the jar. As a workaround, one should keep their DRL-s in the same maven module as the application. This is because Drools doesn't look for files from classpath but uses directly application's jar as zip archive.
The text was updated successfully, but these errors were encountered:
Thanks, this is a good piece of example.
But this has one Spring Boot-related problem. For example, if business-rule dependent code + rulesets are in a different maven artifact, for example in maven submodule that the application module depends on, it doesn't work. It will find the kmodule.xml from META-INF of the jar, but Drools doesn't find any resources from the jar. As a workaround, one should keep their DRL-s in the same maven module as the application. This is because Drools doesn't look for files from classpath but uses directly application's jar as zip archive.
The text was updated successfully, but these errors were encountered: