you want to paste your DRL file here?
that isn't valid Syntax BTW but if we see more of it we can help (just
need to see if it is a latent bug, or else probably should move this
discussion to the users list).
On Tue, Oct 20, 2009 at 8:00 AM, Jane James <jane6210(a)yahoo.com> wrote:
Thanks Michael,
But my rule is really simple, it's something like this:
if type ==1
then
system.out.println();
----- Original Message ----
From: Michael Neale <michael.neale(a)gmail.com>
To: Rules Dev List <rules-dev(a)lists.jboss.org>
Sent: Sat, October 17, 2009 5:57:10 PM
Subject: Re: [rules-dev] jboss 4.05GA and drools 5.1.0M1?
you don't have to set the dialect in the rules - you just make sure
the RHS of rules don't use any java 5 generics and it should work.
On Sat, Oct 17, 2009 at 11:27 AM, Jane James <jane6210(a)yahoo.com> wrote:
> Hi guys,
> Sorry for posting this problem here again, but I've been searching up
> and down for solutions and the only solution I found online doesn't work for
> me.
> So my problem is when I tried to integrate drools into my application
> which is using jboss 4.05GA, I got the following error after I added the
> eclipse JDT core jar to the classpath.
>
> java.lang.NoSuchMethodError:
>
org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/IProblem;
> at
> org.apache.jasper.compiler.JDTCompiler$2.acceptResult(JDTCompiler.java:345)
>
>
> I tried the solution on
http://www.jboss.org/community/wiki/RulesTomcat -->
> I set -Ddrools.compiler=JANINO in my jboss server startup script, changed my
> java code to use JANINO dialect, but I am still getting the same error, and
> if I remove the JDT core jar, I get
>
> org.drools.RuntimeDroolsException: Unable to load dialect
> 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java:org.dro
>
> ols.rule.builder.dialect.java.JavaDialectConfiguration'^M
>
> at
>
org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:274)^M
>
> People's mentioning that the solution worked, so am I missing something
> here?
>
> Thanks a lot!
>
>
>
>
>
>
>
> _______________________________________________
> rules-dev mailing list
> rules-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
--
Michael D Neale
home:
www.michaelneale.net
blog:
michaelneale.blogspot.com
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev