-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
6.5.0.Final
-
None
-
-
The bug was related to a local misconfiguration
-
NEW
-
NEW
Unable to complete the example presented in the documentation "Installing Drools Tooling"
Trying to run DroolsTest.java sample I get the following errors:
java.lang.RuntimeException: Error while creating KieBase[Message [id=1, level=ERROR, path=Sample.drl, line=15, column=0 text=Rule Compilation error Only a type can be imported. com.sample.DroolsTest.Message resolves to a package Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package KnowledgeHelper cannot be resolved to a type org.kie.api.runtime.rule.FactHandle cannot be resolved to a type java.lang.Exception cannot be resolved to a type org.kie.api.runtime.rule.RuleContext cannot be resolved to a type], Message [id=2, level=ERROR, path=Sample.drl, line=5, column=0 text=Rule Compilation error Only a type can be imported. com.sample.DroolsTest.Message resolves to a package Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package KnowledgeHelper cannot be resolved to a type com.sample.DroolsTest.Message cannot be resolved to a type org.kie.api.runtime.rule.FactHandle cannot be resolved to a type org.kie.api.runtime.rule.FactHandle cannot be resolved to a type java.lang.Exception cannot be resolved to a type org.kie.api.runtime.rule.RuleContext cannot be resolved to a type Message.GOODBYE cannot be resolved to a type org.drools.core.util.bitmask.AllSetBitMask cannot be resolved to a type com.sample.DroolsTest.Message cannot be resolved to a type]] at org.drools.compiler.kie.builder.impl.KieContainerImpl.getKieBase(KieContainerImpl.java:450) at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:604) at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:575) at com.sample.DroolsTest.main(DroolsTest.java:17)