[jboss-user] [JBoss Tools Users] - Runing default Jboss Rules app in Eclipse3.5 + Drools3.1
shashank.rudra
do-not-reply at jboss.com
Wed Sep 2 11:08:20 EDT 2009
Hi
Here I am trying to run a default Drools Project in eclipse3.5 JDK1.5 Windowx XP
I created a Drool Runtime.(c:/drools) But no jar was automatically copied to that directory. I manually copied these jars to that. Here is the list of jar filesdrools-all-jdk5-2.1.jar
| drools-ant-5.0.1.jar
| drools-api-5.0.1.jar
| drools-bam-5.0.1.jar
| drools-clips-5.0.1.jar
| drools-compiler-5.0.1.jar
| drools-core-5.0.1.jar
| drools-decisiontables-5.0.1.jar
| drools-jsr94-5.0.1.jar
| drools-mc-5.0.1.jar
| drools-messenger-jms-5.0.1.jar
| drools-persistence-jpa-5.0.1.jar
| drools-process-task-5.0.1.jar
| drools-templates-5.0.1.jar
| drools-transformer-jaxb-5.0.1.jar
| drools-transformer-jxls-5.0.1.jar
| drools-verifier-5.0.1.jar
| drools-workitems-5.0.1.jarNow I am getting this error in Eclipse consoleorg.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:274)
| at org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:259)
| at org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:176)
| at org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:153)
| at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:242)
| at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:142)
| at org.drools.builder.impl.KnowledgeBuilderProviderImpl.newKnowledgeBuilder(KnowledgeBuilderProviderImpl.java:29)
| at org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:29)
| at com.sample.DroolsTest.readKnowledgeBase(DroolsTest.java:39)
| at com.sample.DroolsTest.main(DroolsTest.java:23)
| 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:94)
| at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:55)
| at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:270)
| ... 9 more
| Can someone help me out of it. TIA
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253108#4253108
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253108
More information about the jboss-user
mailing list