2/22/2019 0 Комментарии Sample Drools Drl File![]() ![]() JBoss Drools – Defining business rules. The last two articles focused on some of the current projects that I. Please find below a sample DRL file. This Sample's Files. This sample has the following files: The sample EventFlow application, rulesuser.sbapp. A Drools rule file, routable-order.drl. It contains a. Just for help:If any one use code: KieFileSystem kieFileSystem = kieServices.newKieFileSystem(); Resource resource = kieResources.newClassPathResource('EvaluationDossier.drl'); String resourcepath = 'src/main/resources/rules' + '/' + 'RulesCompiled.drl'; kieFileSystem.write(resourcepath, resource); and facing this exception: Exception in thread « main » java.lang.RuntimeException: Unable to get LastModified for ClasspathResource... Caused by: java.io.FileNotFoundException: ‘EvaluationDossier.drl’ cannot be opened because it does not exist After a few search i resolve it by adding these line in the pom.xml src/main/resources/rules src/main/java.
0 Комментарии
Оставить ответ. |
АвторНапишите что-нибудь о себе. Не надо ничего особенного, просто общие данные. Архивы
Март 2019
Категории |