[jboss-jira] [JBoss JIRA] (DROOLS-3734) Executable model: Imports not evaluated correctly for fact declarations
Mario Fusco (Jira)
issues at jboss.org
Mon Dec 16 13:02:23 EST 2019
[ https://issues.redhat.com/browse/DROOLS-3734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco resolved DROOLS-3734.
---------------------------------
Resolution: Cannot Reproduce
We cannot reproduce this problem. Please feel free to provide a small sample project reproducing it and when you do so reopen this ticket.
> Executable model: Imports not evaluated correctly for fact declarations
> -----------------------------------------------------------------------
>
> Key: DROOLS-3734
> URL: https://issues.redhat.com/browse/DROOLS-3734
> Project: Drools
> Issue Type: Bug
> Affects Versions: 7.12.0.Final, 7.17.0.Final
> Reporter: Olli Johnson
> Assignee: Mario Fusco
> Priority: Major
>
> If using the executable model (building with -DgenerateModel=YES) compilation errors occur for types defined in Java being used in DRL of the same maven model.
> When attempting to import a Java class defined under the same pom.xml module as the current rules file 'CompilationProblemErrorResult: cannot find symbol' errors are observed. Even when the import is not needed (Java type defined in same package as DRL rules), if the type is used in a type declaration the 'cannot find symbol' error is still observed.
> Errors are of the form:
> {code}
> [ERROR] Unable to build KieBaseModel:all
> CompilationProblemErrorResult: cannot find symbol
> symbol: class MyFact
> location: package olijohns
> CompilationProblemErrorResult: cannot find symbol
> symbol: class MyFact
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list