These are the dependencies I added to my pom for jdt.  It's been a while, but I'm pretty sure the antlr and mvel dependencies were required once I added eclipse jdt.

        <dependency>
            <groupId>org.eclipse.jdt</groupId>
            <artifactId>core</artifactId>
            <version>3.4.2.v_883_R34x</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.antlr</groupId>
            <artifactId>antlr-runtime</artifactId>
            <version>3.1.3</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mvel</groupId>
            <artifactId>mvel2</artifactId>
            <version>2.0.16</version>
            <scope>test</scope>
        </dependency>


On Sat, Mar 20, 2010 at 8:26 AM, Patrick Sannes <patrick@i-dev.net> wrote:
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@lists.jboss.org [mailto:rules-users-
> bounces@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@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@lists.jboss.org [mailto:rules-users-
> >> bounces@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@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@lists.jboss.org
> >>> https://lists.jboss.org/mailman/listinfo/rules-users
> >> _______________________________________________
> >> rules-users mailing list
> >> rules-users@lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/rules-users
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users@lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
>
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users