Hi all,
I just started using Drools. I tried to run some example, but they all give
me errors. Is there any simple instructions for beginners?
Any help is appreciated.
Senlin
====
I tried to run examples in
drools-examples/drools-examples-drl/src/main/java/org/drools/examples
But got some exceptions such as:
Exception in thread "main" org.drools.RuntimeDroolsException: Unable to load
dialect
'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java:org.drools.rule.builder.dialect.java.JavaDialectConfiguration'
at
org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:188)
at
org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:173)
at
org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:146)
at
org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:123)
at
org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:141)
at
org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:102)
at HelloWorldExample.main(HelloWorldExample.java:31)
Caused by: java.lang.RuntimeException: The Eclipse JDT Core jar is not in
the classpath
at
org.drools.rule.builder.dialect.java.JavaDialectConfiguration.setCompiler(JavaDialectConfiguration.java:91)
at
org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:52)
at
org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:184)
... 6 more
====