[rules-users] Eclipse + drools = The Eclipse JDT Core jar is not in the classpath ??

Patrick Sannes patrick at i-dev.net
Sat Mar 20 09:26:47 EDT 2010


Hi Lucas,

When I add the org.eclipse.jdt.core_version as external reference to the
project it works. Thanks for helping me out. Now off to the manual ;) 

Regards,
Patrick

> -----Original Message-----
> From: rules-users-bounces at lists.jboss.org [mailto:rules-users-
> bounces at lists.jboss.org] On Behalf Of Lucas Amador
> Sent: Saturday, March 20, 2010 1:17 PM
> To: Rules Users List
> Subject: Re: [rules-users] Eclipse + drools = The Eclipse JDT Core jar is
not in
> the classpath ??
> 
> Patrick,
> you need to add the lib org.eclipse.core.jdt-version that is on your
eclipse
> plugins folder to your drools runtime or classpath
> 
> Or you can use Janino, as salaboy said
> 
> Sent from my phone
> 
> On 20/03/2010, at 10:44, "Patrick Sannes" <patrick at i-dev.net> wrote:
> 
> > Im a real beginner with Drools, can you point me out to a document
> > that tells me how to do that?
> >
> >> -----Original Message-----
> >> From: rules-users-bounces at lists.jboss.org [mailto:rules-users-
> >> bounces at lists.jboss.org] On Behalf Of Salaboy
> >> Sent: Saturday, March 20, 2010 1:22 PM
> >> To: Rules Users List
> >> Subject: Re: [rules-users] Eclipse + drools = The Eclipse JDT Core
> >> jar is
> > not in
> >> the classpath ??
> >>
> >> That's a common eclipse error, if you cannot fix it you can always
> >> include
> > the
> >> janino dependency.
> >>
> >> - Ing. Mauricio Salatino -
> >>
> >> On Mar 20, 2010, at 6:12, "Patrick Sannes" <patrick at i-dev.net> wrote:
> >>
> >>> Hi,
> >>>
> >>> I tried to search a lot, but couldn't find a real solution to my
> >>> problem. I have the latest version of Eclipse installed and
> >>> installed the drools plugin
> >>> 5.0.1 . I configured runtime (dropped it in c:\Users\Patrick
> >>> \Droolsruntime\)
> >>> After starting a new drools project It created a Hello World example
> >>> (im new, so a nice start ;)) When I tried to run the DroolsTest.Java
> >>> I get the error at the end of the email.
> >>> Hope someone can help me out.
> >>>
> >>> Regards
> >>> Patrick
> >>>
> >>> org.drools.RuntimeDroolsException: Unable to load dialect
> >>> 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java:
> >>> or
> 
> 
> 
> >>> g.droo
> >>
> >>
> >>> ls.rule.builder.dialect.java.JavaDialectConfiguration'
> >>>  at
> >>> org.drools.compiler.PackageBuilderConfiguration.addDialect
> >>> (PackageBuilderCon
> >>> figuration.java:274)
> >>>  at
> >>> org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigur
> >>> at
> 
> 
> 
> >>> ionMap
> >>
> >>
> >>> (PackageBuilderConfiguration.java:259)
> >>>  at
> >>> org.drools.compiler.PackageBuilderConfiguration.init
> >>> (PackageBuilderConfigura
> >>> tion.java:176)
> >>>  at
> >>> org.drools.compiler.PackageBuilderConfiguration.<init>
> >>> (PackageBuilderConfigu
> >>> ration.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.newKnowledgeBuil
> >> d
> 
> 
> 
> >>> er(
> >>> Kno
> >>> wledgeBuilderProviderImpl.java:29)
> >>>  at
> >>> org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder
> >>> (KnowledgeBuil
> >>> derFactory.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.setCom
> >>> pi
> 
> 
> 
> >>> ler(
> >>> Ja
> >>> vaDialectConfiguration.java:94)
> >>>  at
> >>> org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init
> >>> (JavaDiale
> >>> ctConfiguration.java:55)
> >>>  at
> >>> org.drools.compiler.PackageBuilderConfiguration.addDialect
> >>> (PackageBuilderCon
> >>> figuration.java:270)
> >>>  ... 9 more
> >>>
> >>> _______________________________________________
> >>> rules-users mailing list
> >>> rules-users at lists.jboss.org
> >>> https://lists.jboss.org/mailman/listinfo/rules-users
> >> _______________________________________________
> >> rules-users mailing list
> >> rules-users at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/rules-users
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list