[jboss-jira] [JBoss JIRA] (DROOLS-1540) Drools does not work with spring-boot-devtools
Fabio Bonfante (Jira)
issues at jboss.org
Mon May 13 08:50:01 EDT 2019
[ https://issues.jboss.org/browse/DROOLS-1540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13732583#comment-13732583 ]
Fabio Bonfante commented on DROOLS-1540:
----------------------------------------
Another, maybe, useful update on using the workaround.
The blamed serialization code in the rule was:
{code:java}
OrderREO newOrder = (OrderREO) SerializationUtils.clone(order);
{code}
So, I tried adding the jar to the {{spring-devtools.properties}} (apache commons-lang-2.4 in my case),
{noformat}
restart.include.commons-lang2=/commons-lang-2.4.jar
{noformat}
and it worked.
> Drools does not work with spring-boot-devtools
> ----------------------------------------------
>
> Key: DROOLS-1540
> URL: https://issues.jboss.org/browse/DROOLS-1540
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.5.0.Final, 7.20.0.Final
> Reporter: G Xiong
> Assignee: Mario Fusco
> Priority: Critical
> Attachments: complete.zip
>
>
> Drools does work with spring-boot-devtools.
> If you add in pom.xml the following, no rules will be fired in Drools.
> <dependency>
> <groupId>org.springframework.boot</groupId>
> <artifactId>spring-boot-devtools</artifactId>
> </dependency>
> if you comment out this, then rules will be fired in Drools.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list