Friends i am getting this error when i am preparing the package in the
business rules.
Error 500:
org/eclipse/jdt/internal/compiler/CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem;
why i am getting this error ?
Show replies by date
Hi,
I'm trying to get the Drools Fusion from the download page example to
run. But I'm getting the following error messages and I don't know why.
----
File: broker.drl
line 31
BuildError: Unable to build expression for 'consequence': Failed to
compile: 1 compilation error(s): - (1,10) unqualified type in strict
mode for: Statistics
Statistics s = new Statistics();
s.symbol = $s;
insert( s );
line: 74
BuildError: Unable to build expression for 'consequence': Failed to
compile: 1 compilation error(s): - (1,12) unable to resolve method using
strict-mode: java.lang.Object.percent(double)
services.log( "Drop >5%: "+$sb+" delta: $"+percent($dt)+"
price:
$"+$pr );
----
File: Broker.java
line: 92
The method add(Resource, ResourceType) is undefined for the type
KnowledgeBuilder
line: 102
The method setOption(EventProcessingOption) is undefined for the type
KnowledgeBaseConfiguration
----
What's the problem?
Greetings :)
Tina